class Rundoc::Context::Execution
Holds configuration for the currently executing script
Attributes
The path to the source file
The path to the source file
The path to the source file
The path to the source file
The path to the source file
Public Class Methods
Source
# File lib/rundoc/context/execution.rb, line 16 def initialize(source_path:, output_dir:, screenshots_dirname:, with_contents_dir:) @source_path = Pathname(source_path).expand_path @source_dir = @source_path.parent @output_dir = Pathname(output_dir).expand_path @screenshots_dir = @output_dir.join(screenshots_dirname).expand_path @with_contents_dir = with_contents_dir end