Method: Rex::Exploitation::OpcodeDb::ImageModule::Export#initialize

Defined in:
lib/rex/exploitation/opcodedb.rb

#initialize(hash) ⇒ Export

Returns a new instance of Export.



164
165
166
167
168
# File 'lib/rex/exploitation/opcodedb.rb', line 164

def initialize(hash)
  @name    = hash['name']
  @address = hash['address'].to_i
  @ordinal = hash['ordinal'].to_i
end