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

Methods

Included Modules

RSS10

Constants

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

Public Class methods

[Source]

# File rss/taxonomy.rb, line 58
      def initialize(*args)
        if Utils.element_initialize_arguments?(args)
          super
        else
          super()
          self.Bag = args[0]
        end
        self.Bag ||= Bag.new
      end

[Source]

# File rss/taxonomy.rb, line 44
        def required_prefix
          TAXO_PREFIX
        end

[Source]

# File rss/taxonomy.rb, line 48
        def required_uri
          TAXO_URI
        end

Public Instance methods

[Source]

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

[Source]

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

[Source]

# File rss/taxonomy.rb, line 76
      def resources
        if @Bag
          @Bag.lis.collect do |li|
            li.resource
          end
        else
          []
        end
      end

[Validate]

ruby-doc.org is hosted and run by James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, Arizona. Ruby-doc.org was created in 2002 to promote the Ruby language and to help other Ruby hackers.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.