Module: Recot
- Defined in:
- lib/recot/tasks/sync_task.rb,
lib/recot.rb,
lib/recot/tasks.rb,
lib/recot/config.rb,
lib/recot/version.rb,
lib/recot/commands.rb,
lib/recot/tasks/base_task.rb,
lib/recot/utils/recot_util.rb,
lib/recot/cache/state_cache.rb,
lib/recot/commands/listener.rb,
lib/recot/commands/observer.rb,
lib/recot/tasks/resdoc_task.rb,
lib/recot/tasks/indexdoc_task.rb,
lib/recot/commands/rack_server.rb,
lib/recot/render/html_renderer.rb,
lib/recot/commands/guard_server.rb,
lib/recot/commands/current_clear.rb,
lib/recot/commands/recent_cancel.rb,
lib/recot/commands/interactive_ui.rb,
lib/recot/commands/tree_generator.rb
Overview
TODO sync work dir to __output dir
Defined Under Namespace
Modules: Cache, Commands, Render, Tasks, Utils Classes: Config
Constant Summary collapse
- OUTPUT_DIR =
Generate files directory name.
'__output'.freeze
- BASKET_DIR =
Throw evidence directory name.
'basket'.freeze
- RESOURCE_DIR =
Resource files directory name.
'resources'.freeze
- VERSION =
"0.1.0"
Class Method Summary collapse
-
.basket_dir ⇒ Object
Get basket directory path.
-
.output_dir ⇒ Object
Get output directory path.
-
.resources_dir ⇒ Object
Get resources directory path.
Class Method Details
.basket_dir ⇒ Object
Get basket directory path.
Returns:
A string of basket directory path.
39 40 41 |
# File 'lib/recot.rb', line 39 def basket_dir() "#{Dir.pwd}/#{BASKET_DIR}" end |
.output_dir ⇒ Object
Get output directory path.
Returns:
A string of output directory path.
23 24 25 |
# File 'lib/recot.rb', line 23 def output_dir() "#{Dir.pwd}/#{OUTPUT_DIR}" end |
.resources_dir ⇒ Object
Get resources directory path.
Returns:
A string of resources directory path.
31 32 33 |
# File 'lib/recot.rb', line 31 def resources_dir() "#{output_dir}/#{RESOURCE_DIR}" end |