lib/honeybadger/config/ruby.rb in honeybadger-5.2.1 vs lib/honeybadger/config/ruby.rb in honeybadger-5.3.0
- old
+ new
@@ -30,10 +30,15 @@
super
end
def respond_to_missing?(method_name, include_private = false)
- true
+ m = method_name.to_s
+ if mash?(m) || setter?(m) || getter?(m)
+ true
+ else
+ super
+ end
end
def mash?(method)
key = [prefix, method.to_s + '.'].compact.join('.')
KEYS.any? {|k| k.start_with?(key) }