Module: RightConf::Singleton
- Included in:
- Command, ConfiguratorRegistry, Platform
- Defined in:
- lib/rconf/ruby_extensions.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
Upon inclusion, also include standard Singleton mixin.
Class Method Details
.included(base) ⇒ Object
Upon inclusion, also include standard Singleton mixin
28 29 30 31 |
# File 'lib/rconf/ruby_extensions.rb', line 28 def self.included(base) base.__send__(:include, ::Singleton) base.__send__(:extend, ClassMethods) end |