Class: SkypeR::Parser::ClearCallhistoryCommand

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/skyper/command.rb

Overview

<clear_callhistory_command> := CLEAR CALLHISTORY

Instance Attribute Summary

Attributes inherited from CommandBase

#response

Instance Method Summary collapse

Constructor Details

#initializeClearCallhistoryCommand

Returns a new instance of ClearCallhistoryCommand.



460
461
462
463
464
465
466
467
468
469
# File 'lib/skyper/command.rb', line 460

def initialize
  @parser = lambda do
    Yaparc::SeqParser.new(
                          Yaparc::Symbol.new('CLEAR'),
                          Yaparc::Symbol.new('CALLHISTORY')
                          )do |_,_|
      {:command_instance => self}
    end
  end
end