# File lib/whenever/job_list.rb, line 4 def initialize(options) @jobs = Hash.new @env = Hash.new case options when String config = options when Hash config = if options[:string] options[:string] elsif options[:file] File.read(options[:file]) end pre_set(options[:set]) end eval(config) end