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