Module: Easy_Set

Defined in:
lib/easy_set.rb

Defined Under Namespace

Modules: Singleton_Methods

Class Method Summary collapse

Class Method Details

.included(child) ⇒ Object



42
43
44
45
# File 'lib/easy_set.rb', line 42

def self.included(child)
  child.instance_variable_set(:@store, {})
  child.extend(Singleton_Methods)
end