blob: 9c8f0624ccc614dbce61c98a61a7d82856252db8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
module Homebrew
module_function
def method_missing(method, *args, &block)
if instance_methods.include?(method)
odisabled "#{self}##{method}", "'module_function' or 'def self.#{method}' to convert it to a class method"
end
super
end
def respond_to_missing?(method, include_private = false)
return true if method_defined?(method)
super(method, include_private)
end
end
|