Class Syndication::Atom::Link
In: lib/syndication/atom.rb
Parent: Syndication::Container

A Link represents a hypertext link to another object from an Atom feed. Examples include the link with rel=self to the canonical URL of the feed.

Methods

new  

Attributes

href  [RW] 
length  [RW] 
rel  [RW] 
title  [RW] 
type  [RW] 

Public Class methods

[Source]

# File lib/syndication/atom.rb, line 204
    def initialize(parent, tag, attrs = nil)
      @tag = tag
      @parent = parent
      if attrs
        attrs.each_pair {|key, value|
          self.store(key, value)
        }
      end
    end

[Validate]