Module: Feedzirra::FeedEntryUtilities

Included in:
AtomEntry, AtomFeedBurnerEntry, RDFEntry, RSSEntry
Defined in:
lib/feedzirra/feed_entry_utilities.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#publishedObject Also known as: last_modified

Returns the value of attribute published.



3
4
5
# File 'lib/feedzirra/feed_entry_utilities.rb', line 3

def published
  @published
end

Instance Method Details

#parse_datetime(string) ⇒ Object



5
6
7
# File 'lib/feedzirra/feed_entry_utilities.rb', line 5

def parse_datetime(string)
  DateTime.parse(string).feed_utils_to_gm_time
end