Class RSS::TaxonomyTopicsModel::TaxonomyTopics
In: lib/rss/taxonomy.rb
Parent: Element

Methods

Included Modules

RSS10

Constants

Bag = ::RSS::RDF::Bag
Bag = args[0]

Public Class methods

[Source]

    # File lib/rss/taxonomy.rb, line 58
58:       def initialize(*args)
59:         if Utils.element_initialize_arguments?(args)
60:           super
61:         else
62:           super()
63:           self.Bag = args[0]
64:         end
65:         self.Bag ||= Bag.new
66:       end

[Source]

    # File lib/rss/taxonomy.rb, line 44
44:         def required_prefix
45:           TAXO_PREFIX
46:         end

[Source]

    # File lib/rss/taxonomy.rb, line 48
48:         def required_uri
49:           TAXO_URI
50:         end

Public Instance methods

[Source]

    # File lib/rss/taxonomy.rb, line 68
68:       def full_name
69:         tag_name_with_prefix(TAXO_PREFIX)
70:       end

[Source]

    # File lib/rss/taxonomy.rb, line 72
72:       def maker_target(target)
73:         target.taxo_topics
74:       end

[Source]

    # File lib/rss/taxonomy.rb, line 76
76:       def resources
77:         if @Bag
78:           @Bag.lis.collect do |li|
79:             li.resource
80:           end
81:         else
82:           []
83:         end
84:       end

[Validate]