Class: RedSnow::ReferenceNode Abstract
- Inherits:
-
BlueprintNode
- Object
- BlueprintNode
- RedSnow::ReferenceNode
- Defined in:
- lib/redsnow/blueprint.rb
Overview
This class is abstract.
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.
21 22 23 |
# File 'lib/redsnow/blueprint.rb', line 21 def initialize(id) @id = id end |
Instance Attribute Details
#id ⇒ String
identifier of the reference
18 19 20 |
# File 'lib/redsnow/blueprint.rb', line 18 def id @id end |