I'd like to remove a class method that gets added to my class via the include
function. For example:
class Foo
include HTTParty
class << self
remove_method :get
end
end
This doesn't work, it says "get" isn't a method on Foo. Basically, the "get" method is provided the HTTParty module and I'd like to remove it. I've tried several attempts with no luck. Things I've read/tried: