Module: RightScale::Singleton
- Included in:
- AgentTagManager, CommandIO, Log, Platform
- Defined in:
- lib/right_agent/monkey_patches/ruby_patch/singleton_patch.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
39 40 41 42 |
# File 'lib/right_agent/monkey_patches/ruby_patch/singleton_patch.rb', line 39 def self.included(base) base.__send__(:include, ::Singleton) base.__send__(:extend, ClassMethods) end |