| Module | RSS::RootElementMixin |
| In: |
rss/rss.rb
|
| output_encoding | [R] |
# File rss/rss.rb, line 956 def initialize(rss_version, version=nil, encoding=nil, standalone=nil) super() @rss_version = rss_version @version = version || '1.0' @encoding = encoding @standalone = standalone @output_encoding = nil end
# File rss/rss.rb, line 965 def output_encoding=(enc) @output_encoding = enc self.converter = Converter.new(@output_encoding, @encoding) end
# File rss/rss.rb, line 970 def setup_maker(maker) maker.version = version maker.encoding = encoding maker.standalone = standalone xml_stylesheets.each do |xss| xss.setup_maker(maker) end setup_maker_elements(maker) end
ruby-doc.org is a community service provided by James Britt and Happy Camper Studios, a Phoenix, Arizona, Ruby application development company.
Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.
For more information on the Ruby programming language, visit ruby-lang.org.
Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.