Permalink
Browse files

Fixed typo in ivar assignment in CoercionError

  • Loading branch information...
1 parent d1d09ef commit a8b1594263a7bd9242e4ffb5d43bc3b0bb2681b5 @rewritten rewritten committed Nov 6, 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 a8b1594

Please sign in to comment.