formatting

This commit is contained in:
Javan Makhmali 2011-07-31 09:33:16 -04:00
parent 15d91a3efd
commit 8bb0f04131
7 changed files with 3 additions and 11 deletions

View File

@ -3,6 +3,7 @@
require 'rubygems'
require 'optparse'
require 'whenever'
require 'whenever/version'
options = {}

View File

@ -3,7 +3,6 @@ require 'tempfile'
module Whenever
class CommandLine
def self.execute(options={})
new(options).run
end
@ -130,6 +129,5 @@ module Whenever
def comment_close
"# End #{comment_base}"
end
end
end

View File

@ -142,7 +142,6 @@ module Whenever
output[0, max_occurances].join(',')
end
end
end
end

View File

@ -1,6 +1,5 @@
module Whenever
class Job
attr_reader :at
def initialize(options = {})
@ -42,6 +41,5 @@ module Whenever
def escape_double_quotes(str)
str.gsub(/"/) { '\"' }
end
end
end

View File

@ -1,6 +1,5 @@
module Whenever
class JobList
def initialize(options)
@jobs, @env, @set_variables, @pre_set_variables = {}, {}, {}, {}
@ -143,6 +142,5 @@ module Whenever
shortcut_jobs.join + combine(regular_jobs).join
end
end
end

View File

@ -1,7 +1,6 @@
module Whenever
module Output
class Redirection
def initialize(output)
@output = output
end
@ -52,7 +51,6 @@ module Whenever
def redirect_from_string
">> #{@output} 2>&1"
end
end
end
end