Module: Hipbot::Adaptable::ClassMethods
- Defined in:
- lib/hipbot/adaptable.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
12 13 14 |
# File 'lib/hipbot/adaptable.rb', line 12 def end |
Instance Method Details
#add_config_options(*keys) ⇒ Object
18 19 20 21 |
# File 'lib/hipbot/adaptable.rb', line 18 def *keys ||= [] |= keys end |
#inherited(child) ⇒ Object
14 15 16 |
# File 'lib/hipbot/adaptable.rb', line 14 def inherited child Hipbot.adapters.unshift(child) end |