class Dhall::Import::RelativePath
Public Instance Methods
chain_onto(relative_to)
click to toggle source
# File lib/dhall/ast.rb, line 1555 def chain_onto(relative_to) relative_to.with( path: relative_to.path[0..-2] + path ) end
pathname()
click to toggle source
# File lib/dhall/ast.rb, line 1547 def pathname Pathname.new(".").join(*path) end
to_s()
click to toggle source
# File lib/dhall/ast.rb, line 1551 def to_s "./#{pathname}" end