Method: Rex::Struct2::CStruct#add_object
- Defined in:
- lib/rex/struct2/c_struct.rb
#add_object(*objs) ⇒ Object
106 107 108 109 110 111 |
# File 'lib/rex/struct2/c_struct.rb', line 106 def add_object(*objs) while objs.length >= 2 @name_table << objs.shift self << objs.shift end end |