lib/virtus/instance_methods.rb in virtus-1.0.2 vs lib/virtus/instance_methods.rb in virtus-1.0.3

- old
+ new

@@ -40,9 +40,10 @@ # @api public def attributes attribute_set.get(self) end alias_method :to_hash, :attributes + alias_method :to_h, :attributes # Mass-assign attribute values # # Keys in the +attributes+ param can be symbols or strings. # All referenced Attribute writer methods *will* be called.