Class: YoutubeAudio::Download
- Inherits:
-
Object
- Object
- YoutubeAudio::Download
- Defined in:
- lib/youtube_audio/download.rb
Instance Attribute Summary collapse
- #url ⇒ String readonly
Instance Method Summary collapse
- #formats ⇒ Object
-
#initialize(url) ⇒ Download
constructor
A new instance of Download.
Constructor Details
#initialize(url) ⇒ Download
Returns a new instance of Download.
9 10 11 |
# File 'lib/youtube_audio/download.rb', line 9 def initialize(url) @url = url end |
Instance Attribute Details
#url ⇒ String (readonly)
6 7 8 |
# File 'lib/youtube_audio/download.rb', line 6 def url @url end |