Class: StaticStruct::Structure
- Inherits:
-
Object
- Object
- StaticStruct::Structure
- Defined in:
- lib/static_struct/structure.rb
Instance Method Summary collapse
-
#initialize(hash) ⇒ Structure
constructor
A new instance of Structure.
Constructor Details
#initialize(hash) ⇒ Structure
Returns a new instance of Structure.
3 4 5 |
# File 'lib/static_struct/structure.rb', line 3 def initialize(hash) define_structure(self, hash) end |