Class: CIAT::Processors::Compiler

Inherits:
Object
  • Object
show all
Defined in:
lib/ciat/processors/compiler.rb

Instance Method Summary collapse

Instance Method Details

#error_nameObject



19
20
21
# File 'lib/ciat/processors/compiler.rb', line 19

def error_name
  :compilation_error
end

#happy_path_elementObject



7
8
9
# File 'lib/ciat/processors/compiler.rb', line 7

def happy_path_element
  :compilation
end

#input_nameObject



11
12
13
# File 'lib/ciat/processors/compiler.rb', line 11

def input_name
  :source
end

#output_nameObject



15
16
17
# File 'lib/ciat/processors/compiler.rb', line 15

def output_name
  :compilation
end

#relevant_elements(color, path) ⇒ Object



3
4
5
# File 'lib/ciat/processors/compiler.rb', line 3

def relevant_elements(color, path)
  element_name_hash[path][color]
end