Class: Rundoc::Context::AfterBuild
- Inherits:
-
Object
- Object
- Rundoc::Context::AfterBuild
- Defined in:
- lib/rundoc/context/after_build.rb
Overview
Public interface for the ‘Rundoc.after_build` proc
Instance Attribute Summary collapse
-
#output_dir ⇒ Object
readonly
Returns the value of attribute output_dir.
-
#output_markdown_path ⇒ Object
readonly
Returns the value of attribute output_markdown_path.
-
#screenshots_dir ⇒ Object
readonly
Returns the value of attribute screenshots_dir.
Instance Method Summary collapse
-
#initialize(output_markdown_path:, screenshots_dir:, output_dir:) ⇒ AfterBuild
constructor
A new instance of AfterBuild.
Constructor Details
#initialize(output_markdown_path:, screenshots_dir:, output_dir:) ⇒ AfterBuild
Returns a new instance of AfterBuild.
7 8 9 10 11 |
# File 'lib/rundoc/context/after_build.rb', line 7 def initialize(output_markdown_path:, screenshots_dir:, output_dir:) @output_dir = output_dir @screenshots_dir = screenshots_dir @output_markdown_path = output_markdown_path end |
Instance Attribute Details
#output_dir ⇒ Object (readonly)
Returns the value of attribute output_dir.
5 6 7 |
# File 'lib/rundoc/context/after_build.rb', line 5 def output_dir @output_dir end |
#output_markdown_path ⇒ Object (readonly)
Returns the value of attribute output_markdown_path.
5 6 7 |
# File 'lib/rundoc/context/after_build.rb', line 5 def output_markdown_path @output_markdown_path end |
#screenshots_dir ⇒ Object (readonly)
Returns the value of attribute screenshots_dir.
5 6 7 |
# File 'lib/rundoc/context/after_build.rb', line 5 def screenshots_dir @screenshots_dir end |