Class: YouTubeG::Parser::FeedParser
- Inherits:
-
Object
- Object
- YouTubeG::Parser::FeedParser
- Defined in:
- lib/youtube_g/parser.rb
Overview
:nodoc:
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(url) ⇒ FeedParser
constructor
A new instance of FeedParser.
- #parse ⇒ Object
Constructor Details
#initialize(url) ⇒ FeedParser
Returns a new instance of FeedParser.
4 5 6 |
# File 'lib/youtube_g/parser.rb', line 4 def initialize(url) @url = url end |
Instance Method Details
#parse ⇒ Object
8 9 10 |
# File 'lib/youtube_g/parser.rb', line 8 def parse parse_content open(@url).read end |