# File lib/chef/expander/control.rb, line 68 def self.compile run_method = "def run; case @argv.first;" descriptions.each do |method_name, command_name, desc| run_method << "when '#{command_name}';#{method_name};" end run_method << "else; help; end; end;" class_eval(run_method, __FILE__, __LINE__) end