Class: SkypeR::Parser::SpeedDialCode

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

#initializeSpeedDialCode

Returns a new instance of SpeedDialCode.



497
498
499
500
501
# File 'lib/skyper/command.rb', line 497

def initialize
  @parser = lambda do
    Yaparc::RegexParser.new(/[a-zA-Z][1-2]/)
  end
end