class Dhall::Import::AbsolutePath

Public Instance Methods

chain_onto(relative_to) click to toggle source
# File lib/dhall/ast.rb, line 1537
def chain_onto(relative_to)
        if relative_to.is_a?(URI)
                raise ImportBannedException, "remote import cannot import #{self}"
        end

        self
end
pathname() click to toggle source
# File lib/dhall/ast.rb, line 1529
def pathname
        Pathname.new("/").join(*path)
end
to_uri(scheme, base_uri) click to toggle source
# File lib/dhall/ast.rb, line 1533
def to_uri(scheme, base_uri)
        scheme.new(uri: base_uri + Util.path_components_to_uri(*path))
end