Class: RSS::Atom::Feed::Entry::Source
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| 
         Class Chain: 
        
       | 
    |
| 
         Instance Chain: 
        
       | 
    |
| Inherits: | 
        RSS::Element
        
  | 
    
| Defined in: | lib/rss/atom.rb | 
Overview
Defines a ::RSS::Atom Source element. It has the following attributes:
- 
author
 - 
category
 - 
categories
 - 
content
 - 
contributor
 - 
generator
 - 
icon
 - 
id
 - 
link
 - 
logo
 - 
rights
 - 
subtitle
 - 
title
 - 
updated
 
Reference: validator.w3.org/feed/docs/rfc4287.html#element.source
Constant Summary
- 
    Author =
    
    # File 'lib/rss/atom.rb', line 840    
Feed::Author
 - 
    Category =
    
    # File 'lib/rss/atom.rb', line 842    
Feed::Category
 - 
    Contributor =
    
    # File 'lib/rss/atom.rb', line 844    
Feed::Contributor
 - 
    Generator =
    
    # File 'lib/rss/atom.rb', line 846    
Feed::Generator
 - 
    Icon =
    
    # File 'lib/rss/atom.rb', line 848    
Feed::Icon
 - 
    Id =
    
    # File 'lib/rss/atom.rb', line 850    
Feed::Id
 - 
    Link =
    
    # File 'lib/rss/atom.rb', line 852    
Feed::Link
 - 
    Logo =
    
    # File 'lib/rss/atom.rb', line 854    
Feed::Logo
 - 
    Rights =
    
    # File 'lib/rss/atom.rb', line 856    
Feed::Rights
 - 
    Subtitle =
    
    # File 'lib/rss/atom.rb', line 858    
Feed::Subtitle
 - 
    Title =
    
    # File 'lib/rss/atom.rb', line 860    
Feed::Title
 - 
    Updated =
    
    # File 'lib/rss/atom.rb', line 862    
Feed::Updated
 
::RSS::Element - Inherited
  GET_ATTRIBUTES, HAVE_CHILDREN_ELEMENTS, INDENT, MODELS, MUST_CALL_VALIDATORS, NEED_INITIALIZE_VARIABLES, PLURAL_FORMS, TO_ELEMENT_METHODS
::RSS::Atom::CommonModel - Included
  
Class Attribute Summary
::RSS::Element - Inherited
Class Method Summary
::RSS::Element - Inherited
::RSS::Utils::InheritedReader - Extended
::RSS::BaseModel - Extended
::RSS::Utils - Included
| element_initialize_arguments? | This method is used inside of several different objects to determine if special behavior is needed in the constructor.  | 
    
| get_file_and_line_from_caller | Returns an array of two elements: the filename where the calling method is located, and the line number where it is defined.  | 
    
| h, | |
| html_escape | Takes a string   | 
    
| new_with_value_if_need | If   | 
    
| to_class_name | Given a   | 
    
Instance Attribute Summary
- 
    
      #have_author?  ⇒ Boolean 
    
    readonly
    
Returns true if the
Sourceelement has an author. 
::RSS::Element - Inherited
Instance Method Summary
::RSS::Element - Inherited
::RSS::SetupMaker - Included
| #setup_maker, #maker_target, #not_need_to_call_setup_maker_variables, #setup_maker_attributes, #setup_maker_element, #setup_maker_elements | 
::RSS::Utils - Included
| #element_initialize_arguments? | This method is used inside of several different objects to determine if special behavior is needed in the constructor.  | 
    
| #get_file_and_line_from_caller | Returns an array of two elements: the filename where the calling method is located, and the line number where it is defined.  | 
    
| #h, | |
| #html_escape | Takes a string   | 
    
| #new_with_value_if_need | If   | 
    
| #to_class_name | Given a   | 
    
Constructor Details
This class inherits a constructor from RSS::Element
Instance Attribute Details
    #have_author?  ⇒ Boolean  (readonly)
  
Returns true if the Source element has an author.
# File 'lib/rss/atom.rb', line 835
def !.to_s.empty? end