Class: Mpg321::Client
- Inherits:
-
Object
- Object
- Mpg321::Client
- Extended by:
- Forwardable
- Includes:
- Mpg321::Control::Playback, Mpg321::Control::Volume
- Defined in:
- lib/mpg321/client.rb
Instance Method Summary collapse
-
#initialize ⇒ Client
constructor
A new instance of Client.
Methods included from Mpg321::Control::Volume
#volume, #volume=, #volume_down, #volume_up
Methods included from Mpg321::Control::Playback
#loaded?, #pause, #paused?, #play, #playing?, #stop
Constructor Details
#initialize ⇒ Client
Returns a new instance of Client.
11 12 13 14 |
# File 'lib/mpg321/client.rb', line 11 def initialize @process = ProcessWrapper.new send :volume=, 50 end |