diff options
Diffstat (limited to 'lib/rss/xml-stylesheet.rb')
-rw-r--r-- | lib/rss/xml-stylesheet.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/rss/xml-stylesheet.rb b/lib/rss/xml-stylesheet.rb index c51c0dc71a..05602eee9b 100644 --- a/lib/rss/xml-stylesheet.rb +++ b/lib/rss/xml-stylesheet.rb @@ -84,6 +84,13 @@ module RSS @alternate end + def setup_maker(maker) + xss = maker.xml_stylesheets.new_xml_stylesheet + ATTRIBUTES.each do |attr| + xss.__send__("#{attr}=", __send__(attr)) + end + end + private def guess_type(filename) /\.([^.]+)$/ =~ filename |