Module: RKit
- Defined in:
- lib/r_kit.rb,
lib/r_kit/engine.rb,
lib/r_kit/version.rb
Defined Under Namespace
Modules: Core, Decorator, Grid Classes: Engine
Constant Summary collapse
- VERSION =
"0.2.1"
Class Method Summary collapse
-
.init_all! ⇒ Object
rename add_service ???.
- .services ⇒ Object
- .services_names ⇒ Object
Class Method Details
.init_all! ⇒ Object
rename add_service ???
21 22 23 24 25 26 27 |
# File 'lib/r_kit.rb', line 21 def init_all! services.each do |service| if service.respond_to? :init! service.init! end end end |
.services ⇒ Object
14 15 16 17 18 |
# File 'lib/r_kit.rb', line 14 def services services_names.map do |const_name| const_get const_name end end |
.services_names ⇒ Object
10 11 12 |
# File 'lib/r_kit.rb', line 10 def services_names constants - [:VERSION, :Engine] end |