Class: RedSnow::ReferenceNode
- Inherits:
-
BlueprintNode
- Object
- BlueprintNode
- RedSnow::ReferenceNode
- Defined in:
- lib/redsnow/blueprint.rb
Overview
Blueprint AST Reference node
Instance Attribute Summary collapse
-
#id ⇒ String
identifier of the reference.
Instance Method Summary collapse
-
#initialize(id) ⇒ ReferenceNode
constructor
A new instance of ReferenceNode.
Constructor Details
#initialize(id) ⇒ ReferenceNode
Returns a new instance of ReferenceNode.
23 24 25 |
# File 'lib/redsnow/blueprint.rb', line 23 def initialize(id) @id = id end |
Instance Attribute Details
#id ⇒ String
identifier of the reference
19 20 21 |
# File 'lib/redsnow/blueprint.rb', line 19 def id @id end |