class RSS::TaxonomyTopicsModel::TaxonomyTopics
常量
- Bag
公共类方法
new(*args) 点击以切换源代码
调用父类方法
RSS::Element::new
# File rss-0.3.1/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
required_prefix() 点击以切换源代码
# File rss-0.3.1/lib/rss/taxonomy.rb, line 47 def required_prefix TAXO_PREFIX end
required_uri() 点击以切换源代码
# File rss-0.3.1/lib/rss/taxonomy.rb, line 51 def required_uri TAXO_URI end
公共实例方法
full_name() 点击以切换源代码
# File rss-0.3.1/lib/rss/taxonomy.rb, line 71 def full_name tag_name_with_prefix(TAXO_PREFIX) end
maker_target(target) 点击以切换源代码
# File rss-0.3.1/lib/rss/taxonomy.rb, line 75 def maker_target(target) target.taxo_topics end
resources() 点击以切换源代码
# File rss-0.3.1/lib/rss/taxonomy.rb, line 79 def resources if @Bag @Bag.lis.collect do |li| li.resource end else [] end end