Class: Swarker::Readers::PathsReader
- Inherits:
-
Object
- Object
- Swarker::Readers::PathsReader
- Defined in:
- lib/swarker/readers/paths_reader.rb
Instance Attribute Summary collapse
-
#paths ⇒ Object
readonly
Returns the value of attribute paths.
Instance Method Summary collapse
-
#initialize(dir) ⇒ PathsReader
constructor
A new instance of PathsReader.
Constructor Details
#initialize(dir) ⇒ PathsReader
Returns a new instance of PathsReader.
8 9 10 |
# File 'lib/swarker/readers/paths_reader.rb', line 8 def initialize(dir) @paths = read_paths(dir) end |
Instance Attribute Details
#paths ⇒ Object (readonly)
Returns the value of attribute paths.
6 7 8 |
# File 'lib/swarker/readers/paths_reader.rb', line 6 def paths @paths end |