Class: GmailSearchSyntax::AST::Group
- Defined in:
- lib/gmail_search_syntax/ast.rb
Instance Attribute Summary collapse
-
#children ⇒ Object
readonly
Returns the value of attribute children.
Instance Method Summary collapse
-
#initialize(children = []) ⇒ Group
constructor
A new instance of Group.
- #inspect ⇒ Object
Methods inherited from Node
Constructor Details
#initialize(children = []) ⇒ Group
89 90 91 |
# File 'lib/gmail_search_syntax/ast.rb', line 89 def initialize(children = []) @children = children end |
Instance Attribute Details
#children ⇒ Object (readonly)
Returns the value of attribute children.
87 88 89 |
# File 'lib/gmail_search_syntax/ast.rb', line 87 def children @children end |
Instance Method Details
#inspect ⇒ Object
93 94 95 |
# File 'lib/gmail_search_syntax/ast.rb', line 93 def inspect "#<Group #{@children.inspect}>" end |