Module: Ritsu::Utility::InstanceSet

Included in:
ExternalLibrary, SrcFile, Target
Defined in:
lib/ritsu/utility/instance_set.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



17
18
19
# File 'lib/ritsu/utility/instance_set.rb', line 17

def self.included(base)
  base.extend(ClassMethods)
end

Instance Method Details

#initialize(*args, &block) ⇒ Object



21
22
23
# File 'lib/ritsu/utility/instance_set.rb', line 21

def initialize(*args, &block)
  self.class.instances << self
end

#initialize_instance(*args, &block) ⇒ Object



25
26
# File 'lib/ritsu/utility/instance_set.rb', line 25

def initialize_instance(*args, &block)
end