Class: Huebot::ProgramSrc

Inherits:
Struct
  • Object
show all
Defined in:
lib/huebot.rb

Overview

Struct for storing a program’s Intermediate Representation and source filepath.

Instance Attribute Summary collapse

Instance Attribute Details

#filepathString

Returns the current value of filepath.

Returns:

  • (String)

    the current value of filepath



16
17
18
# File 'lib/huebot.rb', line 16

def filepath
  @filepath
end

#irHash

Returns the current value of ir.

Returns:

  • (Hash)

    the current value of ir



16
17
18
# File 'lib/huebot.rb', line 16

def ir
  @ir
end