Move require of tempfile lib to file that actually uses it.

This commit is contained in:
Finn Smith 2010-04-23 07:33:02 +08:00 committed by Javan Makhmali
parent 1069cb7c48
commit e3ea5d6336
2 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,6 @@
require 'rubygems'
require 'optparse'
require 'fileutils'
require 'tempfile'
require 'whenever'
options = Hash.new
@ -27,4 +26,4 @@ OptionParser.new do |opts|
end
end.parse!
Whenever::CommandLine.execute(options)
Whenever::CommandLine.execute(options)

View File

@ -1,3 +1,5 @@
require 'tempfile'
module Whenever
class CommandLine
@ -105,4 +107,4 @@ module Whenever
end
end
end
end