method

included

rails latest stable - Class: ActiveSupport::Concern
included(base = nil, &block)
public

Evaluate given block in context of base class, so that you can write class macros here. When you define more than one included block, it raises an exception.