aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/configuration.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-08-10 13:54:53 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-08-10 13:54:53 +0100
commit8621a1b4914f70975f83ad59d31da25d5c01aa1a (patch)
tree2ff85276016c2ccf22ea618ef0417226bbb29d59 /lib/mauve/configuration.rb
parentd650c2dad3ae58caeebb598e7624e80ee2a4b71a (diff)
Updated during_runner to work better.
--HG-- rename : test/time_test.rb => test/tc_mauve_time.rb
Diffstat (limited to 'lib/mauve/configuration.rb')
-rw-r--r--lib/mauve/configuration.rb16
1 files changed, 1 insertions, 15 deletions
diff --git a/lib/mauve/configuration.rb b/lib/mauve/configuration.rb
index 67b76ab..56f5e7e 100644
--- a/lib/mauve/configuration.rb
+++ b/lib/mauve/configuration.rb
@@ -1,20 +1,6 @@
require 'mauve/source_list'
require 'mauve/people_list'
-
-# Seconds, minutes, hours, days, and weeks... More than that, we
-# really should not need it.
-class Integer
- def seconds; self; end
- def minutes; self*60; end
- def hours; self*3600; end
- def days; self*86400; end
- def weeks; self*604800; end
- alias_method :day, :days
- alias_method :hour, :hours
- alias_method :minute, :minutes
- alias_method :week, :weeks
-end
-
+require 'mauve/mauve_time'
module Mauve