Class: Swarker::PathsMerger
- Inherits:
-
Object
- Object
- Swarker::PathsMerger
- Defined in:
- lib/swarker/paths_merger.rb
Instance Attribute Summary collapse
-
#original_paths ⇒ Object
readonly
Returns the value of attribute original_paths.
-
#paths ⇒ Object
readonly
Returns the value of attribute paths.
Instance Method Summary collapse
-
#initialize(original_paths) ⇒ PathsMerger
constructor
A new instance of PathsMerger.
Constructor Details
#initialize(original_paths) ⇒ PathsMerger
Returns a new instance of PathsMerger.
5 6 7 8 |
# File 'lib/swarker/paths_merger.rb', line 5 def initialize(original_paths) @original_paths = original_paths @paths = merge(original_paths) end |
Instance Attribute Details
#original_paths ⇒ Object (readonly)
Returns the value of attribute original_paths.
3 4 5 |
# File 'lib/swarker/paths_merger.rb', line 3 def original_paths @original_paths end |
#paths ⇒ Object (readonly)
Returns the value of attribute paths.
3 4 5 |
# File 'lib/swarker/paths_merger.rb', line 3 def paths @paths end |