1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/rss/maker/content.rb
kou d731c29b06 * lib/rss/rss.rb, test/rss/test_version.rb: 0.2.0 -> 0.2.1.
* lib/rss/content.rb, lib/rss/content/1.0.rb,
  lib/rss/content/2.0.rb, lib/rss/maker/content.rb,
  test/rss/rss-testcase.rb, test/rss/test_content.rb,
  test/rss/test_maker_content.rb: supported content:encoded with RSS 2.0.
  Suggested by Sam Lown. Thanks.

* NEWS: added the above changes.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-30 12:56:33 +00:00

21 lines
384 B
Ruby

require 'rss/content'
require 'rss/maker/1.0'
require 'rss/maker/2.0'
module RSS
module Maker
module ContentModel
def self.append_features(klass)
super
::RSS::ContentModel::ELEMENTS.each do |name|
klass.def_other_element(name)
end
end
end
class ItemsBase
class ItemBase; include ContentModel; end
end
end
end