Class: Rex::PeParsey::PeBase::ImportEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/rex/peparsey/pebase.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_name, _ordinal) ⇒ ImportEntry

Returns a new instance of ImportEntry.



258
259
260
261
# File 'lib/rex/peparsey/pebase.rb', line 258

def initialize(_name, _ordinal)
  self.name     = _name
  self.ordinal  = _ordinal
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



257
258
259
# File 'lib/rex/peparsey/pebase.rb', line 257

def name
  @name
end

#ordinalObject

Returns the value of attribute ordinal.



257
258
259
# File 'lib/rex/peparsey/pebase.rb', line 257

def ordinal
  @ordinal
end