Module: Reform::Form::Composition
- Defined in:
- lib/reform/form/composition.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
Automatically creates a Composition object for you when initializing the form.
Class Method Details
.included(base) ⇒ Object
Automatically creates a Composition object for you when initializing the form.
5 6 7 8 9 10 11 |
# File 'lib/reform/form/composition.rb', line 5 def self.included(base) base.class_eval do # extend Reform::Form::ActiveModel::ClassMethods # ::model. extend ClassMethods include Disposable::Twin::Composition end end |