Module
Instance Methods
lib/rss/maker/atom.rb
View on GitHub
# File tmp/rubies/ruby-2.6.10/lib/rss/maker/atom.rb, line 168
def required_variable_names
%w(uri)
end
No documentation available
lib/rss/maker/atom.rb
View on GitHub
# File tmp/rubies/ruby-2.6.10/lib/rss/maker/atom.rb, line 148
def to_feed(feed, current)
logo = current.class::Logo.new
class << logo
alias_method(:uri=, :content=)
end
set = setup_values(logo)
class << logo
remove_method(:uri=)
end
if set
current.logo = logo
set_parent(logo, current)
setup_other_elements(feed)
elsif variable_is_set?
raise NotSetError.new(self.class.not_set_name,
not_set_required_variables)
end
end
No documentation available