Class: SkypeR::Parser::ClearChathistoryCommand
- Inherits:
-
CommandBase
- Object
- Yaparc::AbstractParser
- CommandBase
- SkypeR::Parser::ClearChathistoryCommand
- Defined in:
- lib/skyper/command.rb
Overview
<clear_chathistory_command> := CLEAR CHATHISTORY
Instance Attribute Summary
Attributes inherited from CommandBase
Instance Method Summary collapse
-
#initialize ⇒ ClearChathistoryCommand
constructor
A new instance of ClearChathistoryCommand.
Constructor Details
#initialize ⇒ ClearChathistoryCommand
Returns a new instance of ClearChathistoryCommand.
432 433 434 435 436 437 438 439 440 441 |
# File 'lib/skyper/command.rb', line 432 def initialize @parser = lambda do Yaparc::SeqParser.new( Yaparc::Symbol.new('CLEAR'), Yaparc::Symbol.new('CHATHISTORY') ) do |_,_| {:command_instance => self} end end end |