Constants
No documentation available
Class Methods
::
lib/rss/itunes.rb
View on GitHub
# File tmp/rubies/ruby-2.6.10/lib/rss/itunes.rb, line 111
def initialize(*args)
if Utils.element_initialize_arguments?(args)
super
else
super()
self.text = args[0]
end
end
No documentation available
lib/rss/itunes.rb
View on GitHub
# File tmp/rubies/ruby-2.6.10/lib/rss/itunes.rb, line 91
def required_prefix
ITUNES_PREFIX
end
No documentation available
::
lib/rss/itunes.rb
View on GitHub
# File tmp/rubies/ruby-2.6.10/lib/rss/itunes.rb, line 95
def required_uri
ITUNES_URI
end
No documentation available
Instance Methods
lib/rss/itunes.rb
View on GitHub
# File tmp/rubies/ruby-2.6.10/lib/rss/itunes.rb, line 120
def full_name
tag_name_with_prefix(ITUNES_PREFIX)
end
No documentation available
lib/rss/itunes.rb
View on GitHub
# File tmp/rubies/ruby-2.6.10/lib/rss/itunes.rb, line 125
def maker_target(categories)
if text or !itunes_categories.empty?
categories.new_category
else
nil
end
end
No documentation available
lib/rss/itunes.rb
View on GitHub
# File tmp/rubies/ruby-2.6.10/lib/rss/itunes.rb, line 133
def setup_maker_attributes(category)
category.text = text if text
end
No documentation available
lib/rss/itunes.rb
View on GitHub
# File tmp/rubies/ruby-2.6.10/lib/rss/itunes.rb, line 137
def setup_maker_elements(category)
super(category)
itunes_categories.each do |sub_category|
sub_category.setup_maker(category)
end
end
No documentation available