class Dhall::Import::RelativeToHomePath

Public Instance Methods

chain_onto(relative_to) click to toggle source
# File lib/dhall/ast.rb, line 1579
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 1575
def pathname
        Pathname.new("~").join(*@path)
end