Class: Ripl::Shell
- Inherits:
-
Object
- Object
- Ripl::Shell
- Defined in:
- lib/ripl/profiles.rb
Overview
hack into Shell#loop to get extra rights (run before before_loop)
Instance Method Summary collapse
Instance Method Details
#loop ⇒ Object
73 74 75 76 77 78 |
# File 'lib/ripl/profiles.rb', line 73 def loop Ripl::Profiles.load_from_config before_loop catch(:ripl_exit) { while(true) do; loop_once; end } after_loop end |