Module: Reform::Form::Module

Defined in:
lib/reform/form/module.rb

Overview

Include this in every module that gets further included.

Defined Under Namespace

Modules: ClassMethods, Included

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

DISCUSS: could this be part of Declarative?



4
5
6
7
8
9
# File 'lib/reform/form/module.rb', line 4

def self.included(base)
  base.extend ClassMethods
  base.extend Declarative::Heritage::DSL # ::heritage
  # base.extend Declarative::Heritage::Included # ::included
  base.extend Included
end