Class: Suspect::Setup::Structure
- Inherits:
-
Object
- Object
- Suspect::Setup::Structure
- 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
- #collector_id_path ⇒ Object
-
#initialize(root_path) ⇒ Structure
constructor
A new instance of Structure.
- #storage_path ⇒ Object
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_path ⇒ Object
16 17 18 |
# File 'lib/suspect/setup/structure.rb', line 16 def collector_id_path main_dir_path + COLLECTOR_ID_NAME end |
#storage_path ⇒ Object
12 13 14 |
# File 'lib/suspect/setup/structure.rb', line 12 def storage_path main_dir_path + STORAGE_DIR_NAME end |