Class: ActiveScaffold::Config::Mark
- Defined in:
- lib/active_scaffold/config/mark.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(core_config) ⇒ Mark
constructor
A new instance of Mark.
Methods inherited from Base
#crud_type, #formats, #formats=, inherited
Methods included from ActiveScaffold::Configurable
Constructor Details
#initialize(core_config) ⇒ Mark
Returns a new instance of Mark.
5 6 7 8 9 |
# File 'lib/active_scaffold/config/mark.rb', line 5 def initialize(core_config) @core = core_config @core.model.send(:include, ActiveScaffold::MarkedModel) unless @core.model.ancestors.include?(ActiveScaffold::MarkedModel) add_mark_column end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ActiveScaffold::Configurable