about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-11-24 22:33:10 +0000
committerEric Wong <e@80x24.org>2015-11-24 22:55:39 +0000
commitffd561ec37cc0d1df585e33d281737e21b8f7eb4 (patch)
tree419e0b0cd4e124da4e83133c624b1e3c4b3217f8
parent5b7e9316a5a9deac64330e8cb6d10785dc7dfc7c (diff)
Oops, blind substitution :x
-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