aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorSergey Nartimov <just.lest@gmail.com>2012-05-28 23:32:04 +0300
committerSergey Nartimov <just.lest@gmail.com>2012-05-28 23:32:04 +0300
commit7dd80d68e509134cb0f821142b6b3ec46262a5a4 (patch)
tree6508511c4591135db3b76014ff0b251ab08efa55 /activesupport
parentf5e26bcb1a9a44b763d4d9ff117705312d1c650f (diff)
downloadrails-7dd80d68e509134cb0f821142b6b3ec46262a5a4.tar.gz
rails-7dd80d68e509134cb0f821142b6b3ec46262a5a4.tar.bz2
rails-7dd80d68e509134cb0f821142b6b3ec46262a5a4.zip
remove unnecessary require
AS::Multibyte are no longer required by access and filters string core extensions.
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/string/access.rb2
-rw-r--r--activesupport/lib/active_support/core_ext/string/filters.rb2
2 files changed, 0 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/access.rb b/activesupport/lib/active_support/core_ext/string/access.rb
index 5c32a2453d..8fa8157d65 100644
--- a/activesupport/lib/active_support/core_ext/string/access.rb
+++ b/activesupport/lib/active_support/core_ext/string/access.rb
@@ -1,5 +1,3 @@
-require 'active_support/multibyte'
-
class String
# If you pass a single Fixnum, returns a substring of one character at that
# position. The first character of the string is at position 0, the next at
diff --git a/activesupport/lib/active_support/core_ext/string/filters.rb b/activesupport/lib/active_support/core_ext/string/filters.rb
index 70f2dcb562..8644529806 100644
--- a/activesupport/lib/active_support/core_ext/string/filters.rb
+++ b/activesupport/lib/active_support/core_ext/string/filters.rb
@@ -1,5 +1,3 @@
-require 'active_support/core_ext/string/multibyte'
-
class String
# Returns the string, first removing all whitespace on both ends of
# the string, and then changing remaining consecutive whitespace