123456789_123456789_123456789_123456789_123456789_

Class: RSS::Maker::ChannelBase

Constant Summary

Base - Inherited

NEED_INITIALIZE_VARIABLES, OTHER_ELEMENTS

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

This class inherits a constructor from RSS::Maker::Base

Instance Attribute Details

#date=(_date) (writeonly)

[ GitHub ]

  
# File 'lib/rss/maker/base.rb', line 522

def date=(_date)
  @date = _parse_date_if_needed(_date)
end

#icon (rw)

[ GitHub ]

  
# File 'lib/rss/maker/base.rb', line 552

def icon
  image_favicon.about
end

#icon=(url) (rw)

[ GitHub ]

  
# File 'lib/rss/maker/base.rb', line 556

def icon=(url)
  image_favicon.about = url
end

#lastBuildDate=(_date) (writeonly)

[ GitHub ]

  
# File 'lib/rss/maker/base.rb', line 526

def lastBuildDate=(_date)
  @lastBuildDate = _parse_date_if_needed(_date)
end

#logo (rw)

[ GitHub ]

  
# File 'lib/rss/maker/base.rb', line 560

def 
  maker.image.url
end

#logo=(url) (rw)

[ GitHub ]

  
# File 'lib/rss/maker/base.rb', line 564

def logo=(url)
  maker.image.url = url
end

#pubDate (rw)

[ GitHub ]

  
# File 'lib/rss/maker/base.rb', line 530

def pubDate
  date
end

#pubDate=(date) (rw)

[ GitHub ]

  
# File 'lib/rss/maker/base.rb', line 534

def pubDate=(date)
  self.date = date
end

#updated (rw)

[ GitHub ]

  
# File 'lib/rss/maker/base.rb', line 538

def updated
  date
end

#updated=(date) (rw)

[ GitHub ]

  
# File 'lib/rss/maker/base.rb', line 542

def updated=(date)
  self.date = date
end

Instance Method Details

#rights

[ GitHub ]

  
# File 'lib/rss/maker/base.rb', line 546

alias_method(:rights, :copyright)

#rights=

[ GitHub ]

  
# File 'lib/rss/maker/base.rb', line 547

alias_method(:rights=, :copyright=)

#subtitle

[ GitHub ]

  
# File 'lib/rss/maker/base.rb', line 549

alias_method(:subtitle, :description)

#subtitle=

[ GitHub ]

  
# File 'lib/rss/maker/base.rb', line 550

alias_method(:subtitle=, :description=)