Class: Holoserve::Tool::Merger
- Inherits:
-
Object
- Object
- Holoserve::Tool::Merger
- Defined in:
- lib/holoserve/tool/merger.rb
Instance Attribute Summary collapse
-
#mode ⇒ Object
Returns the value of attribute mode.
Instance Method Summary collapse
-
#initialize(hash_or_array_one, hash_or_array_two, mode = :union) ⇒ Merger
constructor
A new instance of Merger.
- #result ⇒ Object
Constructor Details
#initialize(hash_or_array_one, hash_or_array_two, mode = :union) ⇒ Merger
Returns a new instance of Merger.
6 7 8 |
# File 'lib/holoserve/tool/merger.rb', line 6 def initialize(hash_or_array_one, hash_or_array_two, mode = :union) @hash_or_array_one, @hash_or_array_two, @mode = hash_or_array_one, hash_or_array_two, mode end |
Instance Attribute Details
#mode ⇒ Object
Returns the value of attribute mode.
4 5 6 |
# File 'lib/holoserve/tool/merger.rb', line 4 def mode @mode end |