lib/arachni/component/options/base.rb in arachni-1.0 vs lib/arachni/component/options/base.rb in arachni-1.0.1

- old
+ new

@@ -115,20 +115,20 @@ alias :to_hash :to_h # @return [Hash] # Data representing this instance that are suitable the RPC transmission. def to_rpc_data - to_h.merge( class: self.class.to_s ).stringify_keys + to_h.merge( class: self.class.to_s ).my_stringify_keys end # @param [Hash] data {#to_rpc_data} # @return [Base] def self.from_rpc_data( data ) data.delete('type') data.delete('class') name = data.delete('name') - new name, data.symbolize_keys(false) + new name, data.my_symbolize_keys(false) end def ==( option ) hash == option.hash end