class Script
Attributes
dependency_file[R]
execution_position[R]
input_file_list_paths[R]
input_paths[R]
name[R]
output_file_list_paths[R]
output_paths[R]
shell_path[R]
show_env_vars_in_log[R]
source_code[R]
Public Class Methods
new( name, source_code, shell_path, input_paths, output_paths, input_file_list_paths, output_file_list_paths, dependency_file, execution_position, show_env_vars_in_log )
click to toggle source
# File lib/spinjector/entity/script.rb, line 6 def initialize( name, source_code, shell_path, input_paths, output_paths, input_file_list_paths, output_file_list_paths, dependency_file, execution_position, show_env_vars_in_log ) @name = name @source_code = source_code @shell_path = shell_path @input_paths = input_paths @output_paths = output_paths @input_file_list_paths = input_file_list_paths @output_file_list_paths = output_file_list_paths @dependency_file = dependency_file @execution_position = execution_position @show_env_vars_in_log = show_env_vars_in_log verify() end
Public Instance Methods
verify()
click to toggle source
# File lib/spinjector/entity/script.rb, line 31 def verify verify_execution_position() end
verify_execution_position()
click to toggle source
# File lib/spinjector/entity/script.rb, line 35 def verify_execution_position case execution_position when :before_compile, :before_headers true when :after_compile, :after_headers false else raise ArgumentError, "Unknown execution position `#{execution_position}`" end end