Class: Suspect::Setup::Structure

Inherits:
Object
  • Object
show all
Defined in:
lib/suspect/setup/structure.rb

Constant Summary collapse

MAIN_DIR_NAME =
'suspect'
STORAGE_DIR_NAME =
'storage'
COLLECTOR_ID_NAME =
'collector_id'

Instance Method Summary collapse

Constructor Details

#initialize(root_path) ⇒ Structure



8
9
10
# File 'lib/suspect/setup/structure.rb', line 8

def initialize(root_path)
  @root_path = root_path
end

Instance Method Details

#collector_id_pathObject



16
17
18
# File 'lib/suspect/setup/structure.rb', line 16

def collector_id_path
  main_dir_path + COLLECTOR_ID_NAME
end

#storage_pathObject



12
13
14
# File 'lib/suspect/setup/structure.rb', line 12

def storage_path
  main_dir_path + STORAGE_DIR_NAME
end