lib/usable.rb in usable-3.9.3 vs lib/usable.rb in usable-3.9.4

- old
+ new

@@ -51,11 +51,11 @@ unless base.respond_to?(:config) base.instance_eval do def config(&block) if block - usables.instance_eval &block + usables.instance_eval(&block) else usables end end end @@ -140,10 +140,10 @@ # any left over -options- are considered "config" settings if options [scope, usables].each { |x| options.each { |k, v| x[k] = v } } end if block_given? - [scope, usables].each { |x| x.instance_eval &block } + [scope, usables].each { |x| x.instance_eval(&block) } end if mod.const_defined?(:InstanceMethods, false) send :include, mod.const_get(:InstanceMethods, false) end if mod.const_defined?(:ClassMethods, false)