Class: Module

Inherits:
Object show all
Defined in:
lib/util/attr_chain.rb

Instance Method Summary collapse

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

See Also:



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