<div id="log_<%= @number %>" class="log">
<div class="input">
Input: [<%= link_to_remote @number, :url => {:action => "reload_script", :number => @number} %>]
<pre class="script">
<%=h @script %>
</pre>
<div class="output">
Result:
[<%= link_to_remote "methods", :url => {:action => "list_methods", :number => @number} %>]
[<%= link_to_remote "classes", :url => {:action => "list_classes", :number => @number} %>]
[<%= link_to_remote "modules", :url => {:action => "list_modules", :number => @number} %>]
<div id="methods_<%= @number %>" class="methods"></div>
<div id="classes_<%= @number %>" class="classes"></div>
<div id="modules_<%= @number %>" class="modules"></div>
<pre class="result">
<%=h @result %>
</pre>
<% if @output %>
Output:
<pre class="output">
<%=h @output %>
</pre>
<% end %>
</div>
</div>
</div>

