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 has_widgets *list
  list.each do |widget|
    settings[:widgets].merge! widget
  end
end

#widgets_rootObject



110
111
112
# File 'lib/conjoin/widgets.rb', line 110

def widgets_root
  settings[:widgets_root]
end

#widgets_root=(path) ⇒ Object



106
107
108
# File 'lib/conjoin/widgets.rb', line 106

def widgets_root= path
  settings[:widgets_root] = path
end