fixed comment/whitespace

This commit is contained in:
Andrew Williams 2011-03-01 01:36:38 +10:30
parent 4dbf694e51
commit 270537e95f

View file

@ -39,7 +39,6 @@ module CouchRest
# Store a casted value in the current instance of an attribute defined
# with a property.
# TODO: mixin dirty functionality into value (?)
def write_attribute(property, value)
prop = find_property!(property)
self[prop.to_s] = prop.is_a?(String) ? value : prop.cast(self, value)