lib/formular/element/module.rb
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
# Gets imported into your module and will be run when including it.
Gets imported into your module and will be run when including it.
Gets imported into your module and will be run when including it .
def included(includer)
          super
          heritage.(includer) 
          includer.send(:include, self::InstanceMethods) if const_defined?(:InstanceMethods)
        end
def included ( includer ) super heritage . ( includer ) includer . send ( :include , self :: InstanceMethods ) if const_defined? ( :InstanceMethods ) end
Gets imported into your module and will be run when including it.
Gets imported into your module and will be run when including it .
# first, replay all declaratives like ::property on includer. # this normally happens via Heritage::Included. # then, include optional accessors.
includer