Module: RKS::Support::Concern
- Included in:
- Configurable, Routable
- Defined in:
- lib/rks/support/concern.rb
Instance Method Summary collapse
Instance Method Details
#included(receiver) ⇒ Object
4 5 6 7 |
# File 'lib/rks/support/concern.rb', line 4 def included(receiver) receiver.extend self::ClassMethods if const_defined?(:ClassMethods) receiver.send :include, self::InstanceMethods if const_defined?(:InstanceMethods) end |