Class: FeedNormalizer::Entry
- Inherits:
-
Object
- Object
- FeedNormalizer::Entry
- Includes:
- ElementCleaner, ElementEquality, Singular
- Defined in:
- lib/structures.rb
Overview
Represents a feed item entry.
Constant Summary collapse
- HTML_ELEMENTS =
[:content, :description, :title]
- SIMPLE_ELEMENTS =
[:date_published, :urls, :id, :authors, :copyright]
- BLENDED_ELEMENTS =
[]
- ELEMENTS =
HTML_ELEMENTS + SIMPLE_ELEMENTS + BLENDED_ELEMENTS
Instance Method Summary collapse
-
#initialize ⇒ Entry
constructor
A new instance of Entry.
Methods included from Singular
Methods included from ElementEquality
Methods included from ElementCleaner
Constructor Details
#initialize ⇒ Entry
Returns a new instance of Entry.
131 132 133 134 |
# File 'lib/structures.rb', line 131 def initialize @urls = [] @authors = [] end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FeedNormalizer::Singular