Module: Supa::Representable::ClassMethods
- Defined in:
- lib/supa/representable.rb
Instance Attribute Summary collapse
-
#definition ⇒ Object
readonly
Returns the value of attribute definition.
Instance Method Summary collapse
Instance Attribute Details
#definition ⇒ Object (readonly)
Returns the value of attribute definition.
32 33 34 |
# File 'lib/supa/representable.rb', line 32 def definition @definition end |
Instance Method Details
#define(&block) ⇒ Object
28 29 30 |
# File 'lib/supa/representable.rb', line 28 def define(&block) @definition = block end |