Class: AttributeStruct::Augmented
- Inherits:
-
AttributeStruct
- Object
- AttributeStruct
- AttributeStruct::Augmented
- Includes:
- Kernel
- Defined in:
- lib/attribute_struct/augmented.rb
Overview
AttributeStruct expanded class that include the Kernel module and automatically objectifies the instance
Constant Summary
Constants inherited from AttributeStruct
Instance Method Summary collapse
- #_klass ⇒ Class
-
#initialize(*args, &block) ⇒ self
constructor
Create a new Augmented AttributeStruct instance.
Constructor Details
#initialize(*args, &block) ⇒ self
Create a new Augmented AttributeStruct instance. Passes arguments and block directly to parent for initialization. Automatically objectifies the instance
12 13 14 15 |
# File 'lib/attribute_struct/augmented.rb', line 12 def initialize(*args, &block) super(*args, &block) @_objectified = true end |
Instance Method Details
#_klass ⇒ Class
18 19 20 |
# File 'lib/attribute_struct/augmented.rb', line 18 def _klass ::AttributeStruct::Augmented end |