Class: SkypeR::Parser::ChatID
- Inherits:
-
Yaparc::AbstractParser
- Object
- Yaparc::AbstractParser
- SkypeR::Parser::ChatID
- Defined in:
- lib/skyper/parser.rb
Overview
<chat_id> # - chat identifier; string (usually looks like “#me/$target;012345679012345”)
Instance Method Summary collapse
-
#initialize ⇒ ChatID
constructor
A new instance of ChatID.
Constructor Details
#initialize ⇒ ChatID
Returns a new instance of ChatID.
57 58 59 60 61 |
# File 'lib/skyper/parser.rb', line 57 def initialize @parser = lambda do Yaparc::Token.new(Yaparc::RegexParser.new(/#[A-Za-z]*\/\$[A-Za-z]*;[0-9]*/)) end end |