Method: Rex::Struct2::SStruct#add_element
- Defined in:
- lib/rex/struct2/s_struct.rb
#add_element(*objs) ⇒ Object
31 32 33 34 35 36 37 |
# File 'lib/rex/struct2/s_struct.rb', line 31 def add_element(*objs) objs.each { |o| elements << o o.container = self } return self end |