Class: Attentive::Tokens::Emoji
- Inherits:
-
StringToken
- Object
- Attentive::Token
- StringToken
- Attentive::Tokens::Emoji
- Defined in:
- lib/attentive/tokens/emoji.rb
Instance Attribute Summary
Attributes inherited from StringToken
Attributes inherited from Attentive::Token
Instance Method Summary collapse
Methods inherited from StringToken
#==, #eql?, #hash, #initialize, #length, #to_str
Methods inherited from Attentive::Token
#==, #ambiguous?, #end, #entity?, #eof?, #initialize, #inspect, #matches?, #whitespace?
Constructor Details
This class inherits a constructor from Attentive::StringToken
Instance Method Details
#skippable? ⇒ Boolean
11 12 13 |
# File 'lib/attentive/tokens/emoji.rb', line 11 def skippable? true end |
#to_s ⇒ Object
7 8 9 |
# File 'lib/attentive/tokens/emoji.rb', line 7 def to_s ":#{string}:" end |