Module: DataFiles

Defined in:
lib/shunkuntype/db.rb

Overview

require ‘init’

Class Method Summary collapse

Class Method Details

.prepareObject



8
9
10
11
12
13
14
# File 'lib/shunkuntype/db.rb', line 8

def self.prepare
  speed_path = Shunkuntype::SPEED_FILE
  training_path = Shunkuntype::TRAINING_FILE

  create_file_if_not_exists(speed_path)
  create_file_if_not_exists(training_path)
end