Sha256: afd0b58c403e9540c09a695ce6fa1c06a25246b726736cd41c70e42529a08773

Contents?: true

Size: 560 Bytes

Versions: 6

Compression:

Stored size: 560 Bytes

Contents

module Rmpd
  module Commands

    complex_command :count, :regexp => /(^songs: )/i
    complex_command :find, :regexp => /(^file: )/i
    complex_command :list, :regexp => /(^[^:]+: )/i
    complex_command :listall, :regexp => /(^[^:]+: )/i
    complex_command :listallinfo, :regexp => /(^(directory|file): )/i
    complex_command :lsinfo, :regexp => /(^(directory|file): )/i
    complex_command :search, :regexp => /(^file: )/i

    alias_method :list_all, :listall
    alias_method :list_all_info, :listallinfo
    alias_method :ls_info, :lsinfo

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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