Class: FeatureRich::Feature
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- FeatureRich::Feature
- Defined in:
- lib/feature-rich/feature.rb
Instance Method Summary collapse
Instance Method Details
#after_initialize ⇒ Object
26 27 28 |
# File 'lib/feature-rich/feature.rb', line 26 def after_initialize self.content ||= FeatureStruct.default end |
#modify(ary) ⇒ Object
30 31 32 33 |
# File 'lib/feature-rich/feature.rb', line 30 def modify(ary) content_will_change! content.modify(ary) end |