lib/strict/attributes/dsl.rb in strict-1.1.0 vs lib/strict/attributes/dsl.rb in strict-1.2.0

- old
+ new

@@ -2,12 +2,12 @@ module Strict module Attributes class Dsl < BasicObject class << self - def run(&) + def run(&block) dsl = new - dsl.instance_eval(&) + dsl.instance_eval(&block) ::Strict::Attributes::Configuration.new(attributes: dsl.__strict_dsl_internal_attributes.values) end end include ::Strict::Dsl::Coercible