Permalink
Browse files

Merge pull request #223 from rewritten/typo_on_coercion_error

Typo in ivar assignment in CoercionError
  • Loading branch information...
2 parents d1d09ef + a8b1594 commit 471454ef88edb0aa02437214da45cd2962384f9f @snusnu snusnu committed Nov 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/virtus.rb
View
@@ -14,7 +14,7 @@ class CoercionError < StandardError
attr_reader :output, :primitive
def initialize(output, primitive)
- @output, @private = output, primitive
+ @output, @primitive = output, primitive
super("Failed to coerce #{output.inspect} into #{primitive.inspect}")
end
end

0 comments on commit 471454e

Please sign in to comment.