Object
# File lib/rex/peparsey/pebase.rb, line 88 def initialize(_struct) self.struct = _struct end
Access a value by array
# File lib/rex/peparsey/pebase.rb, line 100 def [](*args) struct[*args] end
Obtain an array of all fields
# File lib/rex/peparsey/pebase.rb, line 105 def keys struct.keys end
# File lib/rex/peparsey/pebase.rb, line 109 def method_missing(meth, *args) v[meth.to_s] || (raise NoMethodError.new, meth) end
Access a value
# File lib/rex/peparsey/pebase.rb, line 95 def v struct.v end
[Validate]
Generated with the Darkfish Rdoc Generator 2.