Class: Attentive::Tokens::Punctuation

Inherits:
StringToken show all
Defined in:
lib/attentive/tokens/punctuation.rb

Instance Attribute Summary

Attributes inherited from StringToken

#string

Attributes inherited from Attentive::Token

#pos

Instance Method Summary collapse

Methods inherited from StringToken

#==, #initialize, #to_s, #to_str

Methods inherited from Attentive::Token

#==, #ambiguous?, #entity?, #initialize, #matches?, #whitespace?

Constructor Details

This class inherits a constructor from Attentive::StringToken

Instance Method Details

#skippable?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/attentive/tokens/punctuation.rb', line 7

def skippable?
  true
end