Class: SkypeR::Parser::Command
- Inherits:
-
CommandBase
- Object
- Yaparc::AbstractParser
- CommandBase
- SkypeR::Parser::Command
- Defined in:
- lib/skyper/command.rb
Overview
<command> := <name_command>
| <get_command>
| <search_command>
| <set_command>
| <call_command>
| <voicemail_command>
| <chat_command>
| <history_command>
Instance Attribute Summary
Attributes inherited from CommandBase
Instance Method Summary collapse
-
#initialize ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize ⇒ Command
Returns a new instance of Command.
48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/skyper/command.rb', line 48 def initialize @parser = lambda do Yaparc::AltParser.new( GetCommand.new, SearchCommand.new, SetCommand.new, CallCommand.new, VoicemailCommand.new, ChatCommand.new, HistoryCommand.new ) end end |