Module: Structure::Type::Methods
- Defined in:
- lib/structure.rb
Instance Method Summary collapse
Instance Method Details
#a_list_of(*class_list) ⇒ Object
139 140 141 |
# File 'lib/structure.rb', line 139 def a_list_of(*class_list) Structure::Type::Array.new(class_list) end |
#a_list_with(struct) ⇒ Object
147 148 149 |
# File 'lib/structure.rb', line 147 def a_list_with(struct) Structure::Type::ArrayWithStruct.new(struct) end |