From a5cffb3aeff830ae139c9b3b8cd53f30812f073c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 5 Apr 2005 17:04:48 +0000 Subject: Added Fixnum#even? and Fixnum#odd? git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activesupport/lib/active_support/core_ext/fixnum.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 activesupport/lib/active_support/core_ext/fixnum.rb (limited to 'activesupport/lib') diff --git a/activesupport/lib/active_support/core_ext/fixnum.rb b/activesupport/lib/active_support/core_ext/fixnum.rb new file mode 100644 index 0000000000..fecef1da52 --- /dev/null +++ b/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 -- cgit v1.2.3