Module: Files

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

Class Method Summary collapse

Class Method Details

.config_pathObject



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

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

.context_file_pathObject



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

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

.context_pathObject



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

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

.file_pathObject



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

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

.rootObject



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

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