Class: SkypeR::Parser::SpeedDialCode
- Inherits:
-
CommandBase
- Object
- Yaparc::AbstractParser
- CommandBase
- SkypeR::Parser::SpeedDialCode
- Defined in:
- lib/skyper/command.rb
Instance Attribute Summary
Attributes inherited from CommandBase
Instance Method Summary collapse
-
#initialize ⇒ SpeedDialCode
constructor
A new instance of SpeedDialCode.
Constructor Details
#initialize ⇒ SpeedDialCode
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 |