lib/voicemail/matcher.rb in voicemail-1.1.0 vs lib/voicemail/matcher.rb in voicemail-1.1.1
- old
+ new
@@ -2,11 +2,11 @@
# This template exists for the purpose of being overridden. See the README for more information.
module Voicemail
class Matcher
def initialize(entered, actual)
- @entered = entered.try :to_s
- @actual = actual.try :to_s
+ @entered = entered.to_s
+ @actual = actual.to_s
end
def matches?
@entered == @actual
end