aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/string
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2005-11-21 07:29:04 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2005-11-21 07:29:04 +0000
commita821c3dd932a06fe702baa404b46a46156d357ea (patch)
tree4e26a951ffc9060c22b30eb0e6d4b66ff8e9df88 /activesupport/lib/active_support/core_ext/string
parent1a44b9cf1ab1b5d3745de5fa6d73c27ec246080c (diff)
downloadrails-a821c3dd932a06fe702baa404b46a46156d357ea.tar.gz
rails-a821c3dd932a06fe702baa404b46a46156d357ea.tar.bz2
rails-a821c3dd932a06fe702baa404b46a46156d357ea.zip
r3215@asus: jeremy | 2005-11-20 02:05:56 -0800
Eliminate double-requires due to Ruby seeing different paths to the same file. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/core_ext/string')
-rw-r--r--activesupport/lib/active_support/core_ext/string/inflections.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/inflections.rb b/activesupport/lib/active_support/core_ext/string/inflections.rb
index 9b5e9ddfcd..5d19702719 100644
--- a/activesupport/lib/active_support/core_ext/string/inflections.rb
+++ b/activesupport/lib/active_support/core_ext/string/inflections.rb
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../inflector'
+require File.dirname(__FILE__) + '/../../inflector' unless defined? Inflector
module ActiveSupport #:nodoc:
module CoreExtensions #:nodoc:
module String #:nodoc: