Permalink
Browse files

Get rid of warning in Hash::CoercibleWriter

  • Loading branch information...
1 parent 6aeed73 commit 9b9dc42020c8fa91aafb44f020ca05c8687baded @solnic committed Mar 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/virtus/attribute/hash/coercible_writer.rb
View
2 lib/virtus/attribute/hash/coercible_writer.rb
@@ -50,7 +50,7 @@ def initialize(name, options)
# @return [Object]
#
# @api private
- def coerce(value)
+ def coerce(input)
coerced = super
return coerced unless coerced.respond_to?(:each_with_object)
coerced.each_with_object(new_hash) do |(key, value), hash|

0 comments on commit 9b9dc42

Please sign in to comment.