Class: SkypeR::Parser::GetCommand
- Inherits:
-
CommandBase
- Object
- Yaparc::AbstractParser
- CommandBase
- SkypeR::Parser::GetCommand
- Defined in:
- lib/skyper/command.rb
Overview
<get_command> := <get_user_command>
| <get_profile_command>
| <get_call_command>
| <get_chat_chatmessages_command>
| <get_chat_recentchatmessages_command>
Instance Attribute Summary
Attributes inherited from CommandBase
Instance Method Summary collapse
-
#initialize ⇒ GetCommand
constructor
A new instance of GetCommand.
Constructor Details
#initialize ⇒ GetCommand
Returns a new instance of GetCommand.
69 70 71 72 73 74 75 76 77 78 79 |
# File 'lib/skyper/command.rb', line 69 def initialize @parser = lambda do Yaparc::AltParser.new( GetUserCommand.new, GetUserstatusCommand.new, GetProfileCommand.new, GetCallCommand.new, GetChatChatmessagesCommand.new ) end end |