Method: CodeRunner::Run#data_string

Defined in:
lib/coderunner/run.rb

#data_stringObject

Return a line of data for printing to file in CodeRunner#readout, organised according to the run class property rcp.readout_list



373
374
375
# File 'lib/coderunner/run.rb', line 373

def data_string
  rcp.readout_list.inject(""){|str,var| str+"#{send(var)}code_runner_spacer"}.gsub(/\s/, '_').gsub(/code_runner_spacer/, "\t") + "\n" 
end