Module: Mantra::Helpers::ObjectWithType::InstanceMethods
- Defined in:
- lib/mantra/helpers/object_with_type.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
57 58 59 |
# File 'lib/mantra/helpers/object_with_type.rb', line 57 def @options end |
Instance Method Details
#initialize(options = {}) ⇒ Object
59 60 61 |
# File 'lib/mantra/helpers/object_with_type.rb', line 59 def initialize(={}) @options = end |
#type ⇒ Object
53 54 55 |
# File 'lib/mantra/helpers/object_with_type.rb', line 53 def type self.class.type end |