Class: Cyrel::AST::WhereNode
- Inherits:
-
ClauseNode
- Object
- Node
- ClauseNode
- Cyrel::AST::WhereNode
- Defined in:
- lib/cyrel/ast/where_node.rb
Instance Attribute Summary collapse
-
#conditions ⇒ Object
readonly
Returns the value of attribute conditions.
Instance Method Summary collapse
-
#initialize(conditions) ⇒ WhereNode
constructor
A new instance of WhereNode.
Methods inherited from Node
Constructor Details
#initialize(conditions) ⇒ WhereNode
Returns a new instance of WhereNode.
8 9 10 11 |
# File 'lib/cyrel/ast/where_node.rb', line 8 def initialize(conditions) # conditions is an array of expression objects @conditions = conditions end |
Instance Attribute Details
#conditions ⇒ Object (readonly)
Returns the value of attribute conditions.
6 7 8 |
# File 'lib/cyrel/ast/where_node.rb', line 6 def conditions @conditions end |