diff options
author | Sergey Nartimov <just.lest@gmail.com> | 2012-05-16 22:39:56 +0300 |
---|---|---|
committer | Sergey Nartimov <just.lest@gmail.com> | 2012-05-16 22:39:56 +0300 |
commit | f88f699a7b3180e52c2961b9b642f340b2bdae84 (patch) | |
tree | 712ce9a4eae6467500ecc47c5d2b2b18e6db4324 /activesupport/lib/active_support/core_ext | |
parent | 2a67a8cc59a9d1443756d8af2437d52252b9094e (diff) | |
download | rails-f88f699a7b3180e52c2961b9b642f340b2bdae84.tar.gz rails-f88f699a7b3180e52c2961b9b642f340b2bdae84.tar.bz2 rails-f88f699a7b3180e52c2961b9b642f340b2bdae84.zip |
remove unnecessary require
- access & filters don't use multibyte ext
- transliterate requires only AS::Multibyte but not multibyte ext
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r-- | activesupport/lib/active_support/core_ext/string/access.rb | 2 | ||||
-rw-r--r-- | activesupport/lib/active_support/core_ext/string/filters.rb | 2 |
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 2478f42290..c7e4d5651a 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 |