Skip to content

Instantly share code, notes, and snippets.

@jqr
Created October 28, 2009 19:05
Show Gist options
  • Save jqr/220720 to your computer and use it in GitHub Desktop.
Save jqr/220720 to your computer and use it in GitHub Desktop.
Then /^open IRB$/ do
require 'irb'
original_argv = ARGV
ARGV.replace([])
IRB.start
ARGV.replace(original_argv)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment