Module: Interdependence::CommonMixin::MixinMethods
- Defined in:
- lib/interdependence/common_mixin.rb
Overview
Instance Method Summary collapse
-
#included(base) ⇒ undefined
private
Extends ClassMethods, adds and clears
dependenciesclass attributes.
Instance Method Details
#included(base) ⇒ undefined
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Extends ClassMethods, adds and clears dependencies class attributes
25 26 27 28 29 30 31 32 |
# File 'lib/interdependence/common_mixin.rb', line 25 def included(base) base.extend(ClassMethods) base.extend(self::ClassMethods) base.class_attribute :dependencies, :validate_calls base.validate_calls = [] base.clear_dependencies! end |