Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

THE UNSTOPPABLE POWER OF RUBY

Name: Anonymous 2009-10-03 4:24

Watch and learn, you low-life punks:


!/usr/bin/ruby

class Shell
  def self.method_missing(name,*args)
    cmd = name.to_s;
    args.each { |a| cmd += " " + a }
    output = `#{cmd}`.split("\n")
    return output
  end
end

puts Shell.ls("-al");
puts
puts Shell.uname("-a");

Name: Anonymous 2009-10-03 19:02

>>11
This was pure ruby, not rails.

I am thinking about writing something codenamed Trolling on Rails to aid in crapflooding or meme-insertion etc etc

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List