lib/rmpd/commands/miscellaneous.rb in rmpd-1.1.9 vs lib/rmpd/commands/miscellaneous.rb in rmpd-1.1.11

- old
+ new

@@ -1,13 +1,14 @@ module Rmpd module Commands + simple_command :config simple_command :commands simple_command :notcommands simple_command :clearerror - simple_command :_idle - simple_command :_noidle + simple_command :idle + simple_command :noidle simple_command :password simple_command :ping simple_command :stats simple_command :status simple_command :_close @@ -18,22 +19,9 @@ end simple_command :command_list simple_command :command_list_ok - def idle(*subsystems) - @in_idle = true - _idle(mpd, *subsystems) - ensure - @in_idle = false - end - - def noidle - return unless @in_idle - _noidle - end - alias_method :clear_error, :clearerror alias_method :not_commands, :notcommands - end end