Class: SkypeR::Parser::HistoryCommand

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

Overview

<history_command> := <clear_chathistory_command>

| <clear_voicemailhistory_command>

Instance Attribute Summary

Attributes inherited from CommandBase

#response

Instance Method Summary collapse

Constructor Details

#initializeHistoryCommand

Returns a new instance of HistoryCommand.



420
421
422
423
424
425
426
427
# File 'lib/skyper/command.rb', line 420

def initialize
  @parser = lambda do
    Yaparc::AltParser.new(
                          ClearChathistoryCommand.new,
                          ClearVoicemailhistoryCommand.new
                          )
  end
end