diff --git a/lib/whenever/job_list.rb b/lib/whenever/job_list.rb index 7df39c68..17e72d8b 100644 --- a/lib/whenever/job_list.rb +++ b/lib/whenever/job_list.rb @@ -37,7 +37,7 @@ def method_missing(name, *args, &block) @set_variables.has_key?(name) ? @set_variables[name] : super end - def self.respond_to?(name, include_private = false) + def respond_to?(name, include_private = false) @set_variables.has_key?(name) || super end