Class: Swarker::PathsMerger

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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_pathsObject (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

#pathsObject (readonly)

Returns the value of attribute paths.



3
4
5
# File 'lib/swarker/paths_merger.rb', line 3

def paths
  @paths
end