Class: Cyrel::AST::CreateNode
- Inherits:
-
ClauseNode
- Object
- Node
- ClauseNode
- Cyrel::AST::CreateNode
- Defined in:
- lib/cyrel/ast/create_node.rb
Overview
AST node for CREATE clauses Because sometimes you need to make things exist
Instance Attribute Summary collapse
-
#pattern ⇒ Object
readonly
Returns the value of attribute pattern.
Instance Method Summary collapse
-
#initialize(pattern) ⇒ CreateNode
constructor
A new instance of CreateNode.
Methods inherited from Node
Constructor Details
#initialize(pattern) ⇒ CreateNode
Returns a new instance of CreateNode.
10 11 12 |
# File 'lib/cyrel/ast/create_node.rb', line 10 def initialize(pattern) @pattern = pattern end |
Instance Attribute Details
#pattern ⇒ Object (readonly)
Returns the value of attribute pattern.
8 9 10 |
# File 'lib/cyrel/ast/create_node.rb', line 8 def pattern @pattern end |