Constants
No documentation available
Class Methods
::
lib/rss/taxonomy.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/rss/taxonomy.rb, line 61
def initialize(*args)
if Utils.element_initialize_arguments?(args)
super
else
super()
self.Bag = args[0]
end
self.Bag ||= Bag.new
end
No documentation available
lib/rss/taxonomy.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/rss/taxonomy.rb, line 47
def required_prefix
TAXO_PREFIX
end
No documentation available
::
lib/rss/taxonomy.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/rss/taxonomy.rb, line 51
def required_uri
TAXO_URI
end
No documentation available
Instance Methods
lib/rss/taxonomy.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/rss/taxonomy.rb, line 71
def full_name
tag_name_with_prefix(TAXO_PREFIX)
end
No documentation available
lib/rss/taxonomy.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/rss/taxonomy.rb, line 75
def maker_target(target)
target.taxo_topics
end
No documentation available
lib/rss/taxonomy.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/rss/taxonomy.rb, line 79
def resources
if @Bag
@Bag.lis.collect do |li|
li.resource
end
else
[]
end
end
No documentation available