Sha256: 12496e933cb9233f9755b8cad74b9965d9f54945e34310a9a8e14334d1e61a2d

Contents?: true

Size: 513 Bytes

Versions: 1

Compression:

Stored size: 513 Bytes

Contents

module Rmpd
  module Commands

    simple_command :outputs
    simple_command :tagtypes, :min_version => [0, 13, 0]
    simple_command :disableoutput
    simple_command :enableoutput
    simple_command :update

    def kill
      @socket_mu.lock
      begin
        send_command("kill")
        @socket.close
      ensure
        @socket_mu.unlock
      end
    end

    alias_method :disable_output, :disableoutput
    alias_method :tag_types, :tagtypes
    alias_method :enable_output, :enableoutput

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rmpd-1.1.16 lib/rmpd/commands/admin.rb