Module: Auditor::ActsAsWidget::Base::Config
- Defined in:
- lib/acts_as_widget/base.rb
Instance Method Summary collapse
Instance Method Details
#acts_as_widget ⇒ Object
13 14 15 16 17 18 19 20 21 |
# File 'lib/acts_as_widget/base.rb', line 13 def # This is where arbitrary code goes that you want to # add to the class that declared "acts_as_widget" has_many :widgets, :class_name => 'Auditor::Widget' include Auditor::ActsAsWidget::Base::InstanceMethods end |