class Suspect::Setup::Structure

Constants

COLLECTOR_ID_NAME
MAIN_DIR_NAME
STORAGE_DIR_NAME

Attributes

root_path[R]

Public Class Methods

new(root_path) click to toggle source
# File lib/suspect/setup/structure.rb, line 8
def initialize(root_path)
  @root_path = root_path
end

Public Instance Methods

collector_id_path() click to toggle source
# File lib/suspect/setup/structure.rb, line 16
def collector_id_path
  main_dir_path + COLLECTOR_ID_NAME
end
storage_path() click to toggle source
# File lib/suspect/setup/structure.rb, line 12
def storage_path
  main_dir_path + STORAGE_DIR_NAME
end

Private Instance Methods

main_dir_path() click to toggle source
# File lib/suspect/setup/structure.rb, line 24
def main_dir_path
  root_path + MAIN_DIR_NAME
end