Module: RightConf::Singleton

Included in:
Command, ConfiguratorRegistry, PackageInstaller, Platform, Profile
Defined in:
lib/rconf/ruby_extensions.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

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