Class: RSS::Maker::ItemsBase::ItemBase
Relationships & Source Files | |
Namespace Children | |
Classes:
| |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
RSS::Maker::Base
|
Defined in: | lib/rss/maker/base.rb, lib/rss/maker/content.rb, lib/rss/maker/dublincore.rb, lib/rss/maker/image.rb, lib/rss/maker/itunes.rb, lib/rss/maker/slash.rb, lib/rss/maker/taxonomy.rb, lib/rss/maker/trackback.rb |
Constant Summary
-
AuthorsBase =
# File 'lib/rss/maker/base.rb', line 867ChannelBase::AuthorsBase
-
CategoriesBase =
# File 'lib/rss/maker/base.rb', line 866ChannelBase::CategoriesBase
-
ContributorsBase =
# File 'lib/rss/maker/base.rb', line 869ChannelBase::ContributorsBase
-
LinksBase =
# File 'lib/rss/maker/base.rb', line 868ChannelBase::LinksBase
::RSS::Maker::Base - Inherited
Class Method Summary
::RSS::Maker::Base - Inherited
::RSS::Utils::InheritedReader - Extended
Instance Attribute Summary
- #pubDate rw
- #pubDate=(date) rw
- #updated rw
- #updated=(date) rw
- #date=(_date) writeonly
::RSS::Maker::Base - Inherited
Instance Method Summary
::RSS::Maker::SetupDefaultDate - Included
::RSS::Maker::Base - Inherited
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 733
def date=(_date) @date = _parse_date_if_needed(_date) end
#pubDate (rw)
[ GitHub ]# File 'lib/rss/maker/base.rb', line 737
def pubDate date end
#pubDate=(date) (rw)
[ GitHub ]# File 'lib/rss/maker/base.rb', line 741
def pubDate=(date) self.date = date end
#updated (rw)
[ GitHub ]# File 'lib/rss/maker/base.rb', line 745
def updated date end
#updated=(date) (rw)
[ GitHub ]# File 'lib/rss/maker/base.rb', line 749
def updated=(date) self.date = date end
Instance Method Details
#<=>(other)
[ GitHub ]# File 'lib/rss/maker/base.rb', line 756
def <=>(other) _date = date || dc_date _other_date = other.date || other.dc_date if _date and _other_date _date <=> _other_date elsif _date 1 elsif _other_date -1 else 0 end end
#summary
[ GitHub ]# File 'lib/rss/maker/base.rb', line 753
alias_method(:summary, :description)
#summary=
[ GitHub ]# File 'lib/rss/maker/base.rb', line 754
alias_method(:summary=, :description=)