Module: Reform::Form::DSL

Includes:
Composition
Defined in:
lib/reform/form/composition.rb

Overview

TODO: remove me in 1.3.

Class Method Summary collapse

Methods included from Composition

#initialize, #to_nested_hash

Class Method Details

.included(base) ⇒ Object



61
62
63
64
65
66
67
# File 'lib/reform/form/composition.rb', line 61

def self.included(base)
  warn "[DEPRECATION] Reform::Form: `DSL` is deprecated.  Please use `Composition` instead."

  base.class_eval do
    extend Composition::ClassMethods
  end
end