Skip to content
This repository
Browse code

Add useful? to Fixnum

  • Loading branch information...
commit 0d4b407f176c8aa4cfcca389c7edb7ea355d1da6 1 parent dccb437
Michael Moen authored March 18, 2007

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  lib/core_extensions.rb
4  lib/core_extensions.rb
@@ -57,3 +57,7 @@ def useful?
57 57
     ((self.length == 0) || self !~ /\S/) ? false : true
58 58
   end
59 59
 end
  60
+
  61
+class Fixnum
  62
+  def useful?; true end
  63
+end

0 notes on commit 0d4b407

Please sign in to comment.
Something went wrong with that request. Please try again.