Class: IRB::Context

Inherits:
Object
  • Object
show all
Defined in:
lib/fancy_irb/irb_ext.rb

Instance Method Summary collapse

Instance Method Details

#evaluate(*args, **kwargs) ⇒ Object



30
31
32
33
34
35
# File 'lib/fancy_irb/irb_ext.rb', line 30

def evaluate(*args, **kwargs)
  evaluate_non_fancy(*args, **kwargs)
rescue Exception
  FancyIrb.register_error_capturer!
  raise
end

#evaluate_non_fancyObject



28
# File 'lib/fancy_irb/irb_ext.rb', line 28

alias evaluate_non_fancy evaluate