# File lib/capistrano/configuration/namespaces.rb, line 210
    def method_added(name)
      result = method_added_without_capistrano(name)
      return result if self != Kernel

      namespace = Capistrano::Configuration::Namespaces::Namespace

      if namespace.method_defined?(name) && namespace.method(name).owner == Kernel
        namespace.send :undef_method, name
      end

      result
    end