Module: FlexStruct::Frozen
- Defined in:
- lib/flex_struct/frozen.rb
Overview
Wraps a FlexStruct initializer to freeze the struct instance after creation.
Instance Method Summary collapse
Instance Method Details
#initialize ⇒ Object
4 5 6 7 |
# File 'lib/flex_struct/frozen.rb', line 4 def initialize(*) super freeze end |