Method: Rex::Socket::Parameters.from_hash

Defined in:
lib/rex/socket/parameters.rb

.from_hash(hash) ⇒ Object

Creates an instance of the Parameters class using the supplied hash.



37
38
39
# File 'lib/rex/socket/parameters.rb', line 37

def self.from_hash(hash)
  return self.new(hash)
end