Permalink
Browse files

Add useful? to Fixnum

  • Loading branch information...
1 parent dccb437 commit 0d4b407f176c8aa4cfcca389c7edb7ea355d1da6 @UnderpantsGnome committed Mar 18, 2007
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/core_extensions.rb
@@ -57,3 +57,7 @@ def useful?
((self.length == 0) || self !~ /\S/) ? false : true
end
end
+
+class Fixnum
+ def useful?; true end
+end

0 comments on commit 0d4b407

Please sign in to comment.