Class Methods
::
lib/rss/image.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/rss/image.rb, line 85
def initialize(*args)
if Utils.element_initialize_arguments?(args)
super
else
super()
self.about = args[0]
self.resource = args[1]
end
end
No documentation available
lib/rss/image.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/rss/image.rb, line 53
def required_prefix
IMAGE_PREFIX
end
No documentation available
::
lib/rss/image.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/rss/image.rb, line 57
def required_uri
IMAGE_URI
end
No documentation available
Instance Methods
lib/rss/image.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/rss/image.rb, line 95
def full_name
tag_name_with_prefix(IMAGE_PREFIX)
end
No documentation available
lib/rss/image.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/rss/image.rb, line 100
def maker_target(target)
target.image_item
end
No documentation available
lib/rss/image.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/rss/image.rb, line 104
def setup_maker_attributes(item)
item.about = self.about
item.resource = self.resource
end
No documentation available