class AttributeStruct::Augmented
AttributeStruct
expanded class that include the Kernel module and automatically objectifies the instance
Public Class Methods
new(*args, &block)
click to toggle source
Create a new Augmented
AttributeStruct
instance. Passes arguments and block directly to parent for initialization. Automatically objectifies the instance
@return [self]
Calls superclass method
AttributeStruct::new
# File lib/attribute_struct/augmented.rb, line 14 def initialize(*args, &block) super(*args, &block) @_objectified = true end
Public Instance Methods
_klass()
click to toggle source
@return [Class]
# File lib/attribute_struct/augmented.rb, line 20 def _klass ::AttributeStruct::Augmented end