Class: RubyTunes::Rap
- Inherits:
-
Object
- Object
- RubyTunes::Rap
- Defined in:
- lib/ruby_tunes.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.play ⇒ Object
37 38 39 |
# File 'lib/ruby_tunes.rb', line 37 def self.play Rap.new.open_in_browser end |
Instance Method Details
#open_in_browser ⇒ Object
41 42 43 |
# File 'lib/ruby_tunes.rb', line 41 def open_in_browser Launchy.open($music["rap"].sample) end |