Class: GmailSearchSyntax::AST::Not
- Defined in:
- lib/gmail_search_syntax/ast.rb
Instance Attribute Summary collapse
-
#child ⇒ Object
readonly
Returns the value of attribute child.
Instance Method Summary collapse
-
#initialize(child) ⇒ Not
constructor
A new instance of Not.
- #inspect ⇒ Object
Methods inherited from Node
Constructor Details
#initialize(child) ⇒ Not
Returns a new instance of Not.
77 78 79 |
# File 'lib/gmail_search_syntax/ast.rb', line 77 def initialize(child) @child = child end |
Instance Attribute Details
#child ⇒ Object (readonly)
Returns the value of attribute child.
75 76 77 |
# File 'lib/gmail_search_syntax/ast.rb', line 75 def child @child end |
Instance Method Details
#inspect ⇒ Object
81 82 83 |
# File 'lib/gmail_search_syntax/ast.rb', line 81 def inspect "#<Not #{@child.inspect}>" end |