Module: Adva::HasOptions
- Included in:
- Section
- Defined in:
- lib/adva/has_options.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/adva/has_options.rb', line 3 def self.included(base) base.class_eval do extend ClassMethods class_attribute :option_definitions, default: {} serialize :options end end |