lib/dry/effects/handler.rb in dry-effects-0.1.5 vs lib/dry/effects/handler.rb in dry-effects-0.2.0

- old
+ new

@@ -10,10 +10,10 @@ def initialize(type, *args) @provider = ::Dry::Effects.providers[type].new(*args) @frame = Frame.new(provider) end - if RUBY_VERSION >= '2.7' + if RUBY_VERSION >= "2.7" class_eval(<<~RUBY, __FILE__, __LINE__ + 1) def call(...) frame.(...) end RUBY