Permalink
Browse files

command_class -> create_command

  • Loading branch information...
1 parent b19301a commit 334b0875d36fdba24a542703c0b9505b02dc9114 @banister committed Jan 20, 2012
Showing with 6 additions and 6 deletions.
  1. +5 −5 lib/pry-exception_explorer/commands.rb
  2. +1 −1 lib/pry-exception_explorer/version.rb
@@ -19,7 +19,7 @@ def enterable_exception?
end
Commands = Pry::CommandSet.new do
- command_class "enter-exception", "Enter the context of the last exception" do
+ create_command "enter-exception", "Enter the context of the last exception" do
include PryExceptionExplorer::ExceptionHelpers
banner <<-BANNER
@@ -39,8 +39,8 @@ def process
end
end
- command_class "exit-exception", "Leave the context of the current exception." do
- include PryExceptionExplorer::ExceptionHelpers
+ create_command "exit-exception", "Leave the context of the current exception." do
+ include ExceptionHelpers
banner <<-BANNER
Usage: exit-exception
@@ -59,8 +59,8 @@ def process
end
end
- command_class "continue-exception", "Attempt to continue the current exception." do
- include PryExceptionExplorer::ExceptionHelpers
+ create_command "continue-exception", "Attempt to continue the current exception." do
+ include ExceptionHelpers
banner <<-BANNER
Usage: continue-exception
@@ -1,3 +1,3 @@
module PryExceptionExplorer
- VERSION = "0.1.1pre5"
+ VERSION = "0.1.1pre6"
end

0 comments on commit 334b087

Please sign in to comment.