about summary refs log tree commit homepage
path: root/lib/rainbows.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows.rb')
-rw-r--r--lib/rainbows.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows.rb b/lib/rainbows.rb
index 6e7e4f2..3c12e79 100644
--- a/lib/rainbows.rb
+++ b/lib/rainbows.rb
@@ -108,7 +108,7 @@ module Rainbows
     end
   rescue NameError, NoMethodError
     def self.now # Ruby <= 2.0
-      Rainbows.now
+      Time.now.to_f
     end
   end