class RSSFeed::RSSCategory

Public Class Methods

new(node) click to toggle source

Initializes the link.

# File lib/rss_feed/rss_category.rb, line 4
def initialize(node)
  @node = node
end

Public Instance Methods

content() click to toggle source

Content of the RSS category.

# File lib/rss_feed/rss_category.rb, line 14
def content
  @node.content
end
domain() click to toggle source

Identifies the domain (optional).

# File lib/rss_feed/rss_category.rb, line 9
def domain 
  @node["domain"]
end