Class: GmailSearchSyntax::AST::Node
- Inherits:
-
Object
- Object
- GmailSearchSyntax::AST::Node
show all
- Defined in:
- lib/gmail_search_syntax/ast.rb
Instance Method Summary
collapse
Instance Method Details
#==(other) ⇒ Object
4
5
6
|
# File 'lib/gmail_search_syntax/ast.rb', line 4
def ==(other)
self.class == other.class && attributes == other.attributes
end
|
#attributes ⇒ Object
8
9
10
|
# File 'lib/gmail_search_syntax/ast.rb', line 8
def attributes
instance_variables.map { |var| instance_variable_get(var) }
end
|