Permalink
Browse files

Renamed CommandRecognizing to SlashRecognizing.

  • Loading branch information...
1 parent 45df548 commit 7f4f0233e87e5e96e5de1adebe7362feee33aaab @omo committed Mar 17, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/ankit/challenge.rb
View
@@ -273,7 +273,7 @@ def pump
end
end
- module CommandRecognizing
+ module SlashRecognizing
def may_pump_command(answered)
/^\/(\w+)/.match(answered) ? pump_command($1) : nil
end
@@ -291,7 +291,7 @@ def pump_command(command)
end
class QuestionState < State
- include CommandRecognizing
+ include SlashRecognizing
def pump
progress.attack
@@ -317,7 +317,7 @@ def pump
end
class FailedStateBase < State
- include CommandRecognizing
+ include SlashRecognizing
def pump
original = progress.current_card.corrected_original_over(last_answer)
@@ -355,7 +355,7 @@ def decoration_type
end
class PassedState < State
- include CommandRecognizing
+ include SlashRecognizing
def pump
progress.pass

0 comments on commit 7f4f023

Please sign in to comment.