Method: WebConsole::Evaluator#eval

Defined in:
lib/web_console/evaluator.rb

#eval(input) ⇒ Object



17
18
19
20
21
# File 'lib/web_console/evaluator.rb', line 17

def eval(input)
  "=> #{@binding.eval(input).inspect}\n"
rescue Exception => exc
  format_exception(exc)
end