Sha256: 2ef6c768e3854460e8d051dbef6ed2b8fead18e827a6c847d86754f5a335ee35

Contents?: true

Size: 320 Bytes

Versions: 1

Compression:

Stored size: 320 Bytes

Contents

module Mpg321
  class Client
    include Control::Playback
    include Control::Volume

    extend Forwardable
    def_delegator :@process, :send_command
    def_delegator :@process, :on
    def_delegator :@process, :quit

    def initialize
      @process = ProcessWrapper.new
      send :volume=, 50
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mpg321-1.0.0 lib/mpg321/client.rb