lib/representable/binding.rb in representable-1.4.1 vs lib/representable/binding.rb in representable-1.4.2

- old
+ new

@@ -80,10 +80,10 @@ return represented_exec_for(:getter) if options[:getter] represented.send(getter) end def set(value) - value = represented_exec_for(:setter, value) if options[:setter] + return represented_exec_for(:setter, value) if options[:setter] represented.send(setter, value) end private # Execute the block for +option_name+ on the represented object.