Module: Ripl::Hijack
- Defined in:
- lib/ripl/hijack.rb
Constant Summary collapse
- VERSION =
'0.1.0'
Instance Method Summary collapse
Instance Method Details
#after_loop ⇒ Object
22 23 24 |
# File 'lib/ripl/hijack.rb', line 22 def after_loop Hijack::Console.remote.evaluate('__hijack_exit') rescue nil end |
#before_loop ⇒ Object
16 17 18 19 20 |
# File 'lib/ripl/hijack.rb', line 16 def before_loop Hijack.start(config[:hijack_pid], config[:hijack_options]) @binding = loop_eval("self").instance_eval { binding } super end |