Project

General

Profile

Bug #12773

useless lines in lib/rss/rss.rb

Added by znz (Kazuhiro NISHIYAMA) over 3 years ago. Updated over 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 はもうないので、不要なのではないでしょうか。

#1

Updated by kou (Kouhei Sutou) over 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) over 3 years ago

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

Also available in: Atom PDF