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
40 41 42 43 |
# File 'lib/easy_set.rb', line 40 def self.included(child) child.instance_variable_set(:@store, {}) child.extend(Singleton_Methods) end |
.includes_hooks? ⇒ Boolean
45 46 47 |
# File 'lib/easy_set.rb', line 45 def self.includes_hooks? %w(inherited) end |