<% require "cgi" class Hacker attr_reader :name, :scriptstr def initialize(name, scriptstr) @name, @scriptstr = name, scriptstr end def result; eval @scriptstr; end end %>

various 'Just another Ruby Hacker,'

<%File.readlines('jarh.dat').each do |line| hacker = Hacker.new(*line.chomp.split(/\t+/))%> <%end%>
HackerName Script Result
<%=hacker.name%> <%=CGI::escapeHTML(hacker.scriptstr)%> <%hacker.result%>