# File lib/clamp/attribute/declaration.rb, line 26 def define_writer_for(attribute, &block) define_method(attribute.write_method) do |value| if block value = instance_exec(value, &block) end attribute.of(self)._write(value) end end