class ROM::Files::Dataset

Public Instance Methods

at(path) click to toggle source
# File lib/rom/files/dataset.rb, line 46
def at(path)
  with(path: Pathname(path))
end
dig(path) click to toggle source
# File lib/rom/files/dataset.rb, line 50
def dig(path)
  with(path: self.path.join(path))
end
up(level = 1) click to toggle source
# File lib/rom/files/dataset.rb, line 54
def up(level = 1)
  path = self.path
  level.times { path = path.dirname }
  with(path: path)
end