Class: Module
Instance Method Summary collapse
-
#attr_chain(variable_name, *attr_configs) ⇒ void
When a module defines an attr_chain, the attr_chain methods are available to all classes that are extended with the module.
Instance Method Details
#attr_chain(variable_name, *attr_configs) ⇒ void
This method returns an undefined value.
When a module defines an attr_chain, the attr_chain methods are available to all classes that are extended with the module
255 256 257 |
# File 'lib/util/attr_chain.rb', line 255 def attr_chain(variable_name, *attr_configs) AttrChain.new(self, variable_name, attr_configs) end |