class Dhall::Import::RelativeToParentPath
Public Instance Methods
chain_onto(relative_to)
click to toggle source
# File lib/dhall/ast.rb, line 1567 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 1563 def pathname Pathname.new("..").join(*path) end