Class: Quarry::Folders

Inherits:
Object
  • Object
show all
Defined in:
lib/quarry_rb/storage/folders.rb

Instance Method Summary collapse

Constructor Details

#initialize(path, pipeline) ⇒ Folders

Returns a new instance of Folders.



3
4
5
# File 'lib/quarry_rb/storage/folders.rb', line 3

def initialize(path, pipeline)
  @folders = Quarry::ImplFolders.new(path, pipeline.text_pipeline)
end

Instance Method Details

#readObject



7
8
9
# File 'lib/quarry_rb/storage/folders.rb', line 7

def read
  Quarry::DataSet::DataSet.new(@folders.read)
end