Class: RedSnow::ReferenceNode Abstract

Inherits:
BlueprintNode show all
Defined in:
lib/redsnow/blueprint.rb

Overview

This class is abstract.

Blueprint AST Reference node

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ ReferenceNode



21
22
23
# File 'lib/redsnow/blueprint.rb', line 21

def initialize(id)
  @id = id
end

Instance Attribute Details

#idString

identifier of the reference



18
19
20
# File 'lib/redsnow/blueprint.rb', line 18

def id
  @id
end