Class: DasCatalog::Feed
- Inherits:
-
Object
- Object
- DasCatalog::Feed
- Defined in:
- lib/das_catalog/feed.rb
Constant Summary collapse
- FEED_URL =
"https://www.destroyallsoftware.com/screencasts/feed"
Class Method Summary collapse
Class Method Details
.get ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/das_catalog/feed.rb', line 8 def self.get content = "" open(FEED_URL) do |s| content = s.read end RSS::Parser.parse(content,false) end |