Class: Attentive::Tokens::Invocation
- Inherits:
-
StringToken
- Object
- Attentive::Token
- StringToken
- Attentive::Tokens::Invocation
- Defined in:
- lib/attentive/tokens/invocation.rb
Instance Attribute Summary
Attributes inherited from StringToken
Attributes inherited from Attentive::Token
Instance Method Summary collapse
-
#==(other) ⇒ Object
All invocations are equal.
- #skippable? ⇒ Boolean
Methods inherited from StringToken
#eql?, #hash, #initialize, #length, #to_s, #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
#==(other) ⇒ Object
All invocations are equal
8 9 10 |
# File 'lib/attentive/tokens/invocation.rb', line 8 def ==(other) self.class == other.class end |
#skippable? ⇒ Boolean
12 13 14 |
# File 'lib/attentive/tokens/invocation.rb', line 12 def skippable? true end |