Class: Rundoc::Context::AfterBuild

Inherits:
Object
  • Object
show all
Defined in:
lib/rundoc/context/after_build.rb

Overview

Public interface for the ‘Rundoc.after_build` proc

Instance Attribute Summary collapse

Instance Method Summary collapse

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_dirObject (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_pathObject (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_dirObject (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