Module: Axn::Core::Naming::DescriptionMethod

Defined in:
lib/axn/core/naming.rb

Overview

Split out of ClassMethods so included can extend it conditionally (see above): a shared module can't be selectively un-extended per including class.

Instance Method Summary collapse

Instance Method Details

#description(value = ClassMethods::NOT_SET) ⇒ Object



48
49
50
51
52
# File 'lib/axn/core/naming.rb', line 48

def description(value = ClassMethods::NOT_SET)
  return _axn_description if value.equal?(ClassMethods::NOT_SET)

  self._axn_description = value
end