fixed comment/whitespace
This commit is contained in:
parent
4dbf694e51
commit
270537e95f
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue