Module: Matestack::Ui::Core::Helper::ClassMethods
- Defined in:
- lib/matestack/ui/core/helper.rb
Instance Method Summary collapse
Instance Method Details
#inherited(subclass) ⇒ Object
11 12 13 14 |
# File 'lib/matestack/ui/core/helper.rb', line 11 def inherited(subclass) subclass.matestack_layout(@matestack_layout) super end |
#matestack_layout(layout = nil) ⇒ Object
16 17 18 |
# File 'lib/matestack/ui/core/helper.rb', line 16 def matestack_layout(layout = nil) @matestack_layout = layout ? layout : @matestack_layout end |