summary refs log tree commit diff
path: root/lib/bacon.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bacon.rb')
-rw-r--r--lib/bacon.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bacon.rb b/lib/bacon.rb
index b73bfe4..41241f1 100644
--- a/lib/bacon.rb
+++ b/lib/bacon.rb
@@ -208,7 +208,7 @@ class Proc
   end
 end
 
-class Float
+class Numeric
   def close?(to, delta)
     (to.to_f - self).abs <= delta.to_f
   rescue