Module: Kernel
- Defined in:
- lib/luruju/enjoy_ruby.rb
Overview
eval(easy_breakpoint)
Instance Method Summary collapse
Instance Method Details
#easy_breakpoint ⇒ Object
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
# File 'lib/luruju/enjoy_ruby.rb', line 126 def easy_breakpoint <<-EOS puts 'easy-breakpoint>' input = STDIN.readline.chop! unless input == "stop" begin eval(input) rescue => e p e pp e.backtrace end eval easy_breakpoint end EOS end |