Module: Kangaru::InjectedMethods
- Defined in:
- lib/kangaru/injected_methods.rb
Instance Method Summary collapse
- #apply_config! ⇒ Object
- #config ⇒ Object
- #configure(env = nil) ⇒ Object
- #database ⇒ Object
- #run!(*argv) ⇒ Object
Instance Method Details
#apply_config! ⇒ Object
15 16 17 |
# File 'lib/kangaru/injected_methods.rb', line 15 def apply_config! Kangaru.application.apply_config! end |
#config ⇒ Object
7 8 9 |
# File 'lib/kangaru/injected_methods.rb', line 7 def config Kangaru.application.config end |
#configure(env = nil) ⇒ Object
11 12 13 |
# File 'lib/kangaru/injected_methods.rb', line 11 def configure(env = nil, &) Kangaru.application.configure(env, &) end |
#database ⇒ Object
19 20 21 |
# File 'lib/kangaru/injected_methods.rb', line 19 def database Kangaru.application.database end |
#run!(*argv) ⇒ Object
3 4 5 |
# File 'lib/kangaru/injected_methods.rb', line 3 def run!(*argv) Kangaru.application.run!(*argv) end |