Module: Redpear::Concern
- Included in:
- Model::Finders, Schema
- Defined in:
- lib/redpear/concern.rb
Instance Method Summary collapse
-
#append_features(base) ⇒ Object
Partially borrowed from ActiveSupport.
Instance Method Details
#append_features(base) ⇒ Object
Partially borrowed from ActiveSupport
4 5 6 7 8 |
# File 'lib/redpear/concern.rb', line 4 def append_features(base) return false if base < self super base.extend const_get(:ClassMethods) if const_defined?(:ClassMethods) end |