benchmark/run.rb in attributes_dsl-0.0.2 vs benchmark/run.rb in attributes_dsl-0.1.0

- old
+ new

@@ -4,13 +4,13 @@ require "attributes_dsl" class User extend AttributesDSL - attribute :foo, required: true, &:to_s - attribute :bar, default: :BAR, &:to_s - attribute :baz, default: :BAZ, &:to_s - attribute :qux, &:to_s + attribute :foo, required: true + attribute :bar, default: :BAR + attribute :baz, default: :BAZ + attribute :qux end def self.call User.new(foo: :FOO, bar: :BAR, baz: :BAZ, qux: :QUX) end