Flowdock
method

remove_possible_method

Importance_0
v3.2.13 - Show latest stable - 0 notes - Class: Module
remove_possible_method(method) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/core_ext/module/remove_method.rb, line 2
  def remove_possible_method(method)
    if method_defined?(method) || private_method_defined?(method)
      remove_method(method)
    end
  rescue NameError
    # If the requested method is defined on a superclass or included module,
    # method_defined? returns true but remove_method throws a NameError.
    # Ignore this.
  end
Register or log in to add new notes.