Class: Trifle::Docs::Harvester::File::Conveyor
- Defined in:
- lib/trifle/docs/harvester/file.rb
Instance Attribute Summary
Attributes inherited from Conveyor
#cache, #file, #namespace, #url
Instance Method Summary collapse
Methods inherited from Conveyor
Constructor Details
This class inherits a constructor from Trifle::Docs::Harvester::Conveyor
Instance Method Details
#content ⇒ Object
18 19 20 |
# File 'lib/trifle/docs/harvester/file.rb', line 18 def content data end |
#meta ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/trifle/docs/harvester/file.rb', line 22 def { 'path' => file, 'type' => 'file', 'updated_at' => ::File.stat(file).mtime } end |