lib/hanami/action/exposable/guard.rb in hanami-controller-1.0.1 vs lib/hanami/action/exposable/guard.rb in hanami-controller-1.1.0.beta1

- old
+ new

@@ -90,10 +90,10 @@ # @api private def reserved_word?(name, namespace = 'Hanami') if method_defined?(name) || private_method_defined?(name) method_owner = instance_method(name).owner - Utils::String.new(method_owner).namespace == namespace + Utils::String.namespace(method_owner) == namespace else false end end end