Module: Mithril::Mixin
- Included in:
- Controllers::Mixins::MixinWithActions
- Defined in:
- lib/mithril/mixin.rb
Overview
Implements module-based inheritance of both class- and instance-level methods.
Instance Method Summary collapse
- #mixins ⇒ Object
-
#mixins=(ary) ⇒ Object
accessor mixins.
Instance Method Details
#mixins ⇒ Object
7 8 9 |
# File 'lib/mithril/mixin.rb', line 7 def mixins @mixins ||= [] end |
#mixins=(ary) ⇒ Object
accessor mixins
11 12 13 |
# File 'lib/mithril/mixin.rb', line 11 def mixins=(ary) @mixins = ary end |