Class: GmailSearchSyntax::AST::StringToken
- Defined in:
- lib/gmail_search_syntax/ast.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ StringToken
constructor
A new instance of StringToken.
- #inspect ⇒ Object
Methods inherited from Node
Constructor Details
#initialize(value) ⇒ StringToken
Returns a new instance of StringToken.
29 30 31 |
# File 'lib/gmail_search_syntax/ast.rb', line 29 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
27 28 29 |
# File 'lib/gmail_search_syntax/ast.rb', line 27 def value @value end |
Instance Method Details
#inspect ⇒ Object
33 34 35 |
# File 'lib/gmail_search_syntax/ast.rb', line 33 def inspect "#<StringToken #{@value.inspect}>" end |