lib/roda/plugins/module_include.rb in roda-3.48.0 vs lib/roda/plugins/module_include.rb in roda-3.49.0

- old
+ new

@@ -70,10 +70,10 @@ klass = self::RodaRequest iv = :@request_module end if mod - raise RodaError, "can't provide both argument and block to response_module" if block_given? + raise RodaError, "can't provide both argument and block to response_module" if defined?(yield) klass.send(:include, mod) else if instance_variable_defined?(iv) mod = instance_variable_get(iv) else