lib/perus/pinger/command.rb in perus-1.0.5 vs lib/perus/pinger/command.rb in perus-1.0.6

- old
+ new

@@ -24,10 +24,10 @@ raise "#{name} is a required option" end if restricted allowed = Pinger.options[@command.name.demodulize][@name.to_s] - raise "the value passed to #{@name} is not allowed" unless allowed.include?(value) + raise "the value, #{value}, passed to #{@name} is not allowed" unless allowed.include?(value) end results[name] = value end end