Sha256: 19a3e9a121aef0b4b289d744b746076cbfd79f3d81c0bef024f922eeb27a80bd

Contents?: true

Size: 486 Bytes

Versions: 6

Compression:

Stored size: 486 Bytes

Contents

module Rmpd
  module Commands

    complex_command :outputs, :regexp => /(^outputid: )/i
    complex_command :tagtypes, :regexp => /(^tagtype: )/i, :min_version => [0, 13, 0]

    simple_command :disableoutput
    simple_command :enableoutput
    simple_command :update

    def kill
      send_command("kill")
      @socket.close
    end

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

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rmpd-1.0.5 lib/rmpd/commands/admin.rb
rmpd-1.0.4 lib/rmpd/commands/admin.rb
rmpd-1.0.3 lib/rmpd/commands/admin.rb
rmpd-1.0.2 lib/rmpd/commands/admin.rb
rmpd-1.0.1 lib/rmpd/commands/admin.rb
rmpd-1.0.0 lib/rmpd/commands/admin.rb