Module: Twog::RssEntryToTwogPostMapper
- Included in:
- Twog
- Defined in:
- lib/twog/rss_entry_to_twog_post_mapper.rb
Instance Method Summary collapse
Instance Method Details
#map(rss_entries) ⇒ Object
3 4 5 |
# File 'lib/twog/rss_entry_to_twog_post_mapper.rb', line 3 def map(rss_entries) rss_entries.collect { |x| Post.new(x) } end |