Class: RubyTunes::Pop
- Inherits:
-
Object
- Object
- RubyTunes::Pop
- Defined in:
- lib/ruby_tunes.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.play ⇒ Object
49 50 51 |
# File 'lib/ruby_tunes.rb', line 49 def self.play Pop.new.open_in_browser end |
Instance Method Details
#open_in_browser ⇒ Object
53 54 55 |
# File 'lib/ruby_tunes.rb', line 53 def open_in_browser Launchy.open($music["pop"].sample) end |