Parent

Class/Module Index [+]

Quicksearch

Rex::PeParsey::PeBase::GenericStruct

Attributes

struct[RW]

Public Class Methods

new(_struct) click to toggle source
# File lib/rex/peparsey/pebase.rb, line 88
def initialize(_struct)
        self.struct = _struct
end

Public Instance Methods

[](*args) click to toggle source

Access a value by array

# File lib/rex/peparsey/pebase.rb, line 100
def [](*args)
        struct[*args]
end
keys() click to toggle source

Obtain an array of all fields

# File lib/rex/peparsey/pebase.rb, line 105
def keys
        struct.keys
end
method_missing(meth, *args) click to toggle source
# File lib/rex/peparsey/pebase.rb, line 109
def method_missing(meth, *args)
        v[meth.to_s] || (raise NoMethodError.new, meth)
end
v() click to toggle source

Access a value

# File lib/rex/peparsey/pebase.rb, line 95
def v
        struct.v
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.