class AtomFeed::AtomGenerator
Public Class Methods
new(node)
click to toggle source
Initializes the generator element.
# File lib/atom_feed/atom_generator.rb, line 4 def initialize(node) @node = node end
Public Instance Methods
to_s()
click to toggle source
Content of the generator
# File lib/atom_feed/atom_generator.rb, line 9 def to_s @node.content end
Also aliased as: content
uri()
click to toggle source
URI (optional)
# File lib/atom_feed/atom_generator.rb, line 16 def uri @node["uri"] end
version()
click to toggle source
Version (optional)
# File lib/atom_feed/atom_generator.rb, line 21 def version @node["version"] end