Class: SkypeR::Parser::SearchUsersCommand
- Inherits:
-
CommandBase
- Object
- Yaparc::AbstractParser
- CommandBase
- SkypeR::Parser::SearchUsersCommand
- Defined in:
- lib/skyper/command.rb
Overview
SEARCH USERS <target>
Instance Attribute Summary
Attributes inherited from CommandBase
Instance Method Summary collapse
-
#initialize ⇒ SearchUsersCommand
constructor
A new instance of SearchUsersCommand.
Constructor Details
#initialize ⇒ SearchUsersCommand
Returns a new instance of SearchUsersCommand.
203 204 205 206 207 208 209 210 211 212 |
# File 'lib/skyper/command.rb', line 203 def initialize @parser = lambda do Yaparc::SeqParser.new(Yaparc::Symbol.new("SEARCH"), Yaparc::Symbol.new("USERS"), Target.new) do |_,_,target| {:command_instance => self, :target => target} end end @response = SearchUsersResponse.new end |