Class: SkypeR::Parser::Username

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

Instance Attribute Summary

Attributes inherited from CommandBase

#response

Instance Method Summary collapse

Constructor Details

#initializeUsername

Returns a new instance of Username.



505
506
507
508
509
# File 'lib/skyper/command.rb', line 505

def initialize
  @parser = lambda do
    Yaparc::Token.new(Yaparc::RegexParser.new(/[a-zA-Z0-9]+/))
  end
end