Class: Locomotive::Mounter::Reader::FileSystem::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/locomotive/mounter/reader/file_system/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#itemsObject

Returns the value of attribute items.



8
9
10
# File 'lib/locomotive/mounter/reader/file_system/base.rb', line 8

def items
  @items
end

#runnerObject

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_pointObject



17
18
19
# File 'lib/locomotive/mounter/reader/file_system/base.rb', line 17

def mounting_point
  self.runner.mounting_point
end