Module: Stove::Mixin::Instanceable
- Included in:
- Artifactory, Config, Supermarket
- Defined in:
- lib/stove/mixins/instanceable.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.extended(base) ⇒ Object
10 11 12 13 |
# File 'lib/stove/mixins/instanceable.rb', line 10 def self.extended(base) base.send(:include, Singleton) base.send(:extend, ClassMethods) end |
.included(base) ⇒ Object
5 6 7 8 |
# File 'lib/stove/mixins/instanceable.rb', line 5 def self.included(base) base.send(:include, Singleton) base.send(:extend, ClassMethods) end |