module Reform::Form::Module::Included
Public Instance Methods
included(includer)
click to toggle source
Gets imported into your module and will be run when including it.
Calls superclass method
# File lib/reform/form/module.rb, line 13 def included(includer) super # first, replay all declaratives like ::property on includer. heritage.(includer) # this normally happens via Heritage::Included. # then, include optional accessors. includer.send(:include, self::InstanceMethods) if const_defined?(:InstanceMethods) end