Project

General

Profile

Actions

Bug #3055

closed

NEWS: URI Obsoleted methods

Added by znz (Kazuhiro NISHIYAMA) over 14 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2dev (2010-03-30 trunk 27097) [x86_64-linux]
Backport:
[ruby-dev:40852]

Description

=begin
URI に

  • Obsoleted methods:
    • URI#escape
    • URI#unescape
      とありますが、
    • URI.escape
    • URI.unescape
      ではないでしょうか?

それから URI.encode と URI.decode でも警告が出ますが、この2個のメソッドも obsolete なのでしょうか?

% ruby-trunk -v -r uri -e 'URI.escape("");URI.unescape("");URI.encode("");URI.decode("")'
ruby 1.9.2dev (2010-03-30 trunk 27097) [x86_64-linux]
-e:1:in <main>': warning: URI.escape is obsolete -e:1:in ': warning: URI.unescape is obsolete
-e:1:in <main>': warning: URI.escape is obsolete -e:1:in ': warning: URI.unescape is obsolete
%
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0