mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rss: supported Image module.
http://web.resource.org/rss/1.0/modules/image/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
58d0a3de50
commit
73a9963ddf
13 changed files with 626 additions and 9 deletions
|
@ -7,7 +7,7 @@ module RSS
|
|||
def self.append_features(klass)
|
||||
super
|
||||
|
||||
::RSS::DublinCoreModel::ELEMENTS.each do |element|
|
||||
::RSS::DublinCoreModel::ELEMENTS.uniq.each do |element|
|
||||
klass.add_need_initialize_variable(element)
|
||||
klass.add_other_element(element)
|
||||
klass.__send__(:attr_accessor, element)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue