Method: Msf::DataStore#reverse_merge!
- Defined in:
- lib/msf/core/data_store.rb
#reverse_merge!(other) ⇒ Object
Reverse Merge the other object into the current datastore’s aliases and imported hashes Equivalent to ActiveSupport’s reverse_merge! functionality.
367 368 369 370 371 |
# File 'lib/msf/core/data_store.rb', line 367 def reverse_merge!(other) raise ArgumentError, "invalid error type #{other.class}, expected ::Msf::DataStore" unless other.is_a?(Msf::DataStore) copy_state(other.merge(self)) end |