Permalink
Browse files

Cleaning up an error message.

  • Loading branch information...
1 parent 6bc698a commit 1a90ea14aa7308836c558cfdfc71629ab4776405 @patio11 patio11 committed Aug 20, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/abingo.rb
View
@@ -129,7 +129,7 @@ def self.parse_alternatives(alternatives)
if value.kind_of? Integer
alternatives_array += [key] * value
else
- raise "You gave an array with #{value} as a value. It needed to be an integer."
+ raise "You gave a hash with #{key} => #{value} as an element. The value must be an integral weight."
end
end
return alternatives_array

0 comments on commit 1a90ea1

Please sign in to comment.