Project

General

Profile

Bug #12773

useless lines in lib/rss/rss.rb

Added by znz (Kazuhiro NISHIYAMA) almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-dev:49813]

Description

lib/rss/rss.rb

        attr = attr.id2name if attr.kind_of?(Integer)

という行が複数ありますが、Fixnum#id2name はもうないので、不要なのではないでしょうか。

Associated revisions

Revision 671e1d89
Added by kou (Kouhei Sutou) almost 3 years ago

  • lib/rss/rss.rb (RSS::BaseModel): Remove needless codes. [Bug #12773][ruby-dev:49813] Reported by Kazuhiro NISHIYAMA. Thanks!!!

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 56184
Added by kou (Kouhei Sutou) almost 3 years ago

  • lib/rss/rss.rb (RSS::BaseModel): Remove needless codes. [Bug #12773][ruby-dev:49813] Reported by Kazuhiro NISHIYAMA. Thanks!!!

Revision 56184
Added by kou (Kouhei Sutou) almost 3 years ago

  • lib/rss/rss.rb (RSS::BaseModel): Remove needless codes. [Bug #12773][ruby-dev:49813] Reported by Kazuhiro NISHIYAMA. Thanks!!!

Revision 56184
Added by kou (Kouhei Sutou) almost 3 years ago

  • lib/rss/rss.rb (RSS::BaseModel): Remove needless codes. [Bug #12773][ruby-dev:49813] Reported by Kazuhiro NISHIYAMA. Thanks!!!

Revision 56184
Added by kou (Kouhei Sutou) almost 3 years ago

  • lib/rss/rss.rb (RSS::BaseModel): Remove needless codes. [Bug #12773][ruby-dev:49813] Reported by Kazuhiro NISHIYAMA. Thanks!!!

History

#1

Updated by kou (Kouhei Sutou) almost 3 years ago

  • Status changed from Assigned to Closed

Applied in changeset r56184.


  • lib/rss/rss.rb (RSS::BaseModel): Remove needless codes. [Bug #12773][ruby-dev:49813] Reported by Kazuhiro NISHIYAMA. Thanks!!!

Updated by kou (Kouhei Sutou) almost 3 years ago

その通りなので削除しました。

Also available in: Atom PDF