Skip to content

Instantly share code, notes, and snippets.

@avescodes
Created February 11, 2009 06:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avescodes/61875 to your computer and use it in GitHub Desktop.
Save avescodes/61875 to your computer and use it in GitHub Desktop.
# Stef try this in your ~/.irbrc
class Object
def method_missing(name, *args)
result = `#{name} #{args.join}`
puts result
result
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment