Modified ruby.rb