lib/ripple/document/attribute_methods/read.rb in ripple-0.6.0 vs lib/ripple/document/attribute_methods/read.rb in ripple-0.6.1
- old
+ new
@@ -24,11 +24,10 @@
end
private
def attribute(attr_name)
if @attributes.include?(attr_name)
- value = @attributes[attr_name]
- value.duplicable? ? value.clone : value
+ @attributes[attr_name]
else
nil
end
end
end