app/views/script/ruby_debug.erb in tailog-0.5.8 vs app/views/script/ruby_debug.erb in tailog-0.5.9
- old
+ new
@@ -4,11 +4,11 @@
<% IRB.conf[:OUTPUT] = [] %>
<% begin %>
<% irb.eval_input %>
<% IRB.Output.each do |key, line| %>
- <% case key %>
- <% when :stdin %>
+ <% case key
+ when :stdin %>
<p class="text-info"><%= h line %></p>
<% when :stdout %>
<p><%= h line %></p>
<% when :stderr %>
<p class="text-danger"><%= h line %></p>