instance method
remove_possible_singleton_method
Ruby on Rails 8.1.2
Since v5.2.8.1Signature
remove_possible_singleton_method(method)
Removes the named singleton method, if it exists.
Parameters
-
methodreq
Source
# File activesupport/lib/active_support/core_ext/module/remove_method.rb, line 14
def remove_possible_singleton_method(method)
singleton_class.remove_possible_method(method)
end
Defined in activesupport/lib/active_support/core_ext/module/remove_method.rb line 14
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Module