module Formular::Element::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/formular/element/module.rb, line 19 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