Module: KungFigure
- Defined in:
- lib/kung_figure.rb
Defined Under Namespace
Modules: ClassMethods Classes: Base, Register
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.clear_all_configs ⇒ Object
3 4 5 6 7 |
# File 'lib/kung_figure.rb', line 3 def clear_all_configs KungFigure::Register.each do |klz| klz.clear_config end end |
.included(base) ⇒ Object
26 27 28 29 |
# File 'lib/kung_figure.rb', line 26 def self.included(base) KungFigure::Register.add(base) base.extend(ClassMethods) end |
Instance Method Details
#config ⇒ Object
31 32 33 |
# File 'lib/kung_figure.rb', line 31 def config self.class.config end |