Class
Attributes
Read
No documentation available
Read
No documentation available
Read & Write
No documentation available
Read & Write
No documentation available
Read & Write
No documentation available
Class Methods
lib/rss/maker/base.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/rss/maker/base.rb, line 402
def make(*args, &block)
new(*args).make(&block)
end
No documentation available
lib/rss/maker/base.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/rss/maker/base.rb, line 428
def initialize(feed_version)
super(self)
@feed_type = nil
@feed_subtype = nil
@feed_version = feed_version
@version = "1.0"
@encoding = "UTF-8"
@standalone = nil
end
No documentation available
Instance Methods
lib/rss/maker/base.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/rss/maker/base.rb, line 438
def make
yield(self)
to_feed
end
No documentation available
lib/rss/maker/base.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/rss/maker/base.rb, line 454
def make_xml_stylesheets
XMLStyleSheets.new(self)
end
No documentation available
#
lib/rss/maker/base.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/rss/maker/base.rb, line 443
def to_feed
feed = make_feed
setup_xml_stylesheets(feed)
setup_elements(feed)
setup_other_elements(feed)
feed.validate
feed
end
No documentation available