Class: TyranoDsl::Elements::JumpTarget

Inherits:
Object
  • Object
show all
Defined in:
lib/tyrano_dsl/elements/jump_target.rb

Overview

A declared jump target

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(scene, label) ⇒ JumpTarget

Returns a new instance of JumpTarget.

Parameters:



13
14
15
16
# File 'lib/tyrano_dsl/elements/jump_target.rb', line 13

def initialize(scene, label)
  @scene = scene
  @label = label
end

Instance Attribute Details

#labelTyranoDsl::Elements::Label? (readonly)

Returns:



9
10
11
# File 'lib/tyrano_dsl/elements/jump_target.rb', line 9

def label
  @label
end

#sceneString (readonly)

Returns:

  • (String)


7
8
9
# File 'lib/tyrano_dsl/elements/jump_target.rb', line 7

def scene
  @scene
end