lib/clamp/attribute/instance.rb in clamp-0.6.3 vs lib/clamp/attribute/instance.rb in clamp-0.6.4

- old
+ new

@@ -30,14 +30,11 @@ command.send(attribute.default_method) end # default implementation of read_method def _read - if self.defined? - get - else - default - end + set(default) unless self.defined? + get end # default implementation of append_method def _append(value) current_values = get || []