Module: Helpema::YouTubeDL
Class Attribute Summary collapse
-
.version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
Methods included from Piper
define_command, run_command, to_arg, validate_command
Class Attribute Details
.version ⇒ Object
Returns the value of attribute version.
6 7 8 |
# File 'lib/helpema/youtubedl.rb', line 6 def version @version end |
Instance Method Details
#json(url, &blk) ⇒ Object
22 |
# File 'lib/helpema/youtubedl.rb', line 22 def json(url, &blk) = YouTubeDL._json(url:url, &blk) |
#mp3(url, output: '%(id)s.%(ext)s') ⇒ Object
38 39 |
# File 'lib/helpema/youtubedl.rb', line 38 def mp3(url, output:'%(id)s.%(ext)s') = YouTubeDL._mp3(url:url, output:output) |