diff options
author | kennyj <kennyj@gmail.com> | 2012-01-19 19:38:23 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2012-01-19 20:27:16 +0900 |
commit | d8b06dc5c250f80687f3e9d5de77b6cdf106c8f0 (patch) | |
tree | 6cc58bd5657ea5413d51f59c4893252c81bf0130 /activesupport/lib | |
parent | 04d6ebb467a449a5b56151de5fb13c41318d217a (diff) | |
download | rails-d8b06dc5c250f80687f3e9d5de77b6cdf106c8f0.tar.gz rails-d8b06dc5c250f80687f3e9d5de77b6cdf106c8f0.tar.bz2 rails-d8b06dc5c250f80687f3e9d5de77b6cdf106c8f0.zip |
Convert URI.parser.parse to URI.parse, and remove ruby 1.8.x code.
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/core_ext/uri.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/uri.rb b/activesupport/lib/active_support/core_ext/uri.rb index 0b219ce44a..bfe0832b37 100644 --- a/activesupport/lib/active_support/core_ext/uri.rb +++ b/activesupport/lib/active_support/core_ext/uri.rb @@ -20,7 +20,7 @@ end module URI class << self def parser - @parser ||= URI.const_defined?(:Parser) ? URI::Parser.new : URI + @parser ||= URI::Parser.new end end end |