Class: Locomotive::Mounter::Reader::FileSystem::Base
- Inherits:
-
Object
- Object
- Locomotive::Mounter::Reader::FileSystem::Base
- Defined in:
- lib/locomotive/mounter/reader/file_system/base.rb
Direct Known Subclasses
ContentAssetsReader, ContentEntriesReader, ContentTypesReader, PagesReader, SiteReader, SnippetsReader, ThemeAssetsReader, TranslationsReader
Instance Attribute Summary collapse
-
#items ⇒ Object
Returns the value of attribute items.
-
#runner ⇒ Object
Returns the value of attribute runner.
Instance Method Summary collapse
-
#initialize(runner) ⇒ Base
constructor
A new instance of Base.
- #mounting_point ⇒ Object
Constructor Details
#initialize(runner) ⇒ Base
Returns a new instance of Base.
12 13 14 15 |
# File 'lib/locomotive/mounter/reader/file_system/base.rb', line 12 def initialize(runner) self.runner = runner self.items = {} end |
Instance Attribute Details
#items ⇒ Object
Returns the value of attribute items.
8 9 10 |
# File 'lib/locomotive/mounter/reader/file_system/base.rb', line 8 def items @items end |
#runner ⇒ Object
Returns the value of attribute runner.
8 9 10 |
# File 'lib/locomotive/mounter/reader/file_system/base.rb', line 8 def runner @runner end |
Instance Method Details
#mounting_point ⇒ Object
17 18 19 |
# File 'lib/locomotive/mounter/reader/file_system/base.rb', line 17 def mounting_point self.runner.mounting_point end |