Method: Module#remove_possible_singleton_method
- Defined in:
- lib/apple_core/extensions/module.rb
#remove_possible_singleton_method(method) ⇒ Object
Removes the named singleton method, if it exists.
15 16 17 18 19 |
# File 'lib/apple_core/extensions/module.rb', line 15 def remove_possible_singleton_method(method) singleton_class.instance_eval do remove_possible_method(method) end end |