mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rss.rb, lib/rss/, test/rss/:
- 0.1.9 -> 0.2.0. - supported Slash module. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b528261ad8
commit
1b56bcce22
19 changed files with 296 additions and 18 deletions
|
|
@ -398,9 +398,9 @@ module RSS
|
|||
element_infos =
|
||||
ITunesChannelModel::ELEMENT_INFOS + ITunesItemModel::ELEMENT_INFOS
|
||||
element_infos.each do |name, type|
|
||||
class_name = Utils.to_class_name(name)
|
||||
case type
|
||||
when :element, :elements, :attribute
|
||||
class_name = Utils.to_class_name(name)
|
||||
BaseListener.install_class_name(ITUNES_URI, name, "ITunes#{class_name}")
|
||||
else
|
||||
accessor_base = "#{ITUNES_PREFIX}_#{name.gsub(/-/, '_')}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue