module BioDSL::HistoryHelper

Namespace for HistoryHelper.

Public Instance Methods

save_history() click to toggle source

Save pipeline to history file unless test is set.

# File lib/BioDSL/helpers/history_helper.rb, line 32
def save_history
  return if BioDSL.test

  File.open(BioDSL::Config::HISTORY_FILE, 'a') do |ios|
    ios.puts to_s
  end
end