Module: Conjoin::Widgets::ClassMethods
- Defined in:
- lib/conjoin/widgets.rb
Instance Method Summary collapse
Instance Method Details
#has_widgets(*list) ⇒ Object
100 101 102 103 104 |
# File 'lib/conjoin/widgets.rb', line 100 def *list list.each do || settings[:widgets].merge! end end |
#widgets_root ⇒ Object
110 111 112 |
# File 'lib/conjoin/widgets.rb', line 110 def settings[:widgets_root] end |
#widgets_root=(path) ⇒ Object
106 107 108 |
# File 'lib/conjoin/widgets.rb', line 106 def path settings[:widgets_root] = path end |