Module: Files

Included in:
Config, Context, Main, Prompt
Defined in:
lib/files.rb

Instance Method Summary collapse

Instance Method Details

#config_pathObject



14
15
16
# File 'lib/files.rb', line 14

def config_path
  File.expand_path("./../config/config.yml", __dir__)
end

#context_file_pathObject



18
19
20
# File 'lib/files.rb', line 18

def context_file_path
  File.expand_path("./../files/context_file.txt", __dir__)
end

#context_pathObject



10
11
12
# File 'lib/files.rb', line 10

def context_path
  File.expand_path("./../files/context.jsonl", __dir__)
end

#file_pathObject



6
7
8
# File 'lib/files.rb', line 6

def file_path
  File.expand_path("./../files/", __dir__)
end

#rootObject



2
3
4
# File 'lib/files.rb', line 2

def root
  File.expand_path("./../", __dir__)
end