aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorNicholas Seckar <nseckar@gmail.com>2005-07-18 02:16:17 +0000
committerNicholas Seckar <nseckar@gmail.com>2005-07-18 02:16:17 +0000
commitdba6b8b46f93ed0116755bea17cfbce7ca6d7c72 (patch)
tree6e924204e44fb2b93ca852079f89ece7c735fea6 /activesupport/lib
parent305a5463bd1caf4d0e2f96d39ef3cbbf455788c6 (diff)
downloadrails-dba6b8b46f93ed0116755bea17cfbce7ca6d7c72.tar.gz
rails-dba6b8b46f93ed0116755bea17cfbce7ca6d7c72.tar.bz2
rails-dba6b8b46f93ed0116755bea17cfbce7ca6d7c72.zip
Add ordinalize to Fixnum and Bignum instances
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1855 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/core_ext/fixnum.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/fixnum.rb b/activesupport/lib/active_support/core_ext/fixnum.rb
index e983d5c0f9..519408fb0d 100644
--- a/activesupport/lib/active_support/core_ext/fixnum.rb
+++ b/activesupport/lib/active_support/core_ext/fixnum.rb
@@ -1,9 +1,12 @@
require File.dirname(__FILE__) + '/fixnum/even_odd'
+require File.dirname(__FILE__) + '/fixnum/inflections'
class Fixnum #:nodoc:
include ActiveSupport::CoreExtensions::Fixnum::EvenOdd
+ include ActiveSupport::CoreExtensions::Fixnum::Inflections
end
class Bignum #:nodoc:
include ActiveSupport::CoreExtensions::Fixnum::EvenOdd
+ include ActiveSupport::CoreExtensions::Fixnum::Inflections
end \ No newline at end of file