class Module
Public Instance Methods
attr_chain(variable_name, *attr_configs)
click to toggle source
When a module defines an attr_chain
, the attr_chain
methods are available to all classes that are extended with the module @see AttrChain
@return [void]
# File lib/util/attr_chain.rb, line 255 def attr_chain(variable_name, *attr_configs) AttrChain.new(self, variable_name, attr_configs) end