diff options
Diffstat (limited to 'trunk/lib/rss/maker/syndication.rb')
-rw-r--r-- | trunk/lib/rss/maker/syndication.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/trunk/lib/rss/maker/syndication.rb b/trunk/lib/rss/maker/syndication.rb new file mode 100644 index 0000000000..b81230457c --- /dev/null +++ b/trunk/lib/rss/maker/syndication.rb @@ -0,0 +1,18 @@ +require 'rss/syndication' +require 'rss/maker/1.0' + +module RSS + module Maker + module SyndicationModel + def self.append_features(klass) + super + + ::RSS::SyndicationModel::ELEMENTS.each do |name| + klass.def_other_element(name) + end + end + end + + class ChannelBase; include SyndicationModel; end + end +end |