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 79041dfc8d * lib/rss/content.rb, lib/rss/content/, lib/rss/maker/content.rb,
test/rss/test_content.rb, test/rss/test_maker_content.rb,
  test/rss/rss-testcase.rb (RSS::TestCase): supported
  content:encoded with RSS 2.0.
  Suggested by Sam Lown. Thanks.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-02 11:58:03 +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