Class: Swarker::Readers::PathsReader

Inherits:
Object
  • Object
show all
Defined in:
lib/swarker/readers/paths_reader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#pathsObject (readonly)

Returns the value of attribute paths.



6
7
8
# File 'lib/swarker/readers/paths_reader.rb', line 6

def paths
  @paths
end