Permalink
Browse files

Added Fixnum#even? and Fixnum#odd?

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent d08271e commit a5cffb3aeff830ae139c9b3b8cd53f30812f073c @dhh dhh committed Apr 5, 2005
Showing with 5 additions and 0 deletions.
  1. +5 −0 activesupport/lib/active_support/core_ext/fixnum.rb
View
5 activesupport/lib/active_support/core_ext/fixnum.rb
@@ -0,0 +1,5 @@
+require File.dirname(__FILE__) + '/fixnum/even_odd'
+
+class Fixnum #:nodoc:
+ include ActiveSupport::CoreExtensions::Fixnum::EvenOdd
+end

0 comments on commit a5cffb3

Please sign in to comment.