Skip to content

Instantly share code, notes, and snippets.

@banister
Created June 23, 2012 10:38
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 banister/2977842 to your computer and use it in GitHub Desktop.
Save banister/2977842 to your computer and use it in GitHub Desktop.
commands = Pry::CommandSet.new do
import_from Pry::Commands, "help"
command "start" do
puts "Start"
end
command "stop" do
puts "Stop"
end
command "start_handler" do
puts "Starting handler"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment