Class: Docbook::Output::PipelineContext
- Inherits:
-
Struct
- Object
- Struct
- Docbook::Output::PipelineContext
- Defined in:
- lib/docbook/output/pipeline/context.rb
Overview
Shared state passed between pipeline steps.
Carries configuration and the parsed document so steps can communicate without coupling to each other.
Usage: context = PipelineContext.new(xml_path: "book.xml") context.parsed # => set by ParseXml step
Instance Attribute Summary collapse
-
#image_search_dirs ⇒ Object
Returns the value of attribute image_search_dirs.
-
#image_strategy ⇒ Object
Returns the value of attribute image_strategy.
-
#parsed ⇒ Object
Returns the value of attribute parsed.
-
#sort_glossary ⇒ Object
Returns the value of attribute sort_glossary.
-
#title ⇒ Object
Returns the value of attribute title.
-
#xml_path ⇒ Object
Returns the value of attribute xml_path.
Instance Attribute Details
#image_search_dirs ⇒ Object
Returns the value of attribute image_search_dirs
14 15 16 |
# File 'lib/docbook/output/pipeline/context.rb', line 14 def image_search_dirs @image_search_dirs end |
#image_strategy ⇒ Object
Returns the value of attribute image_strategy
14 15 16 |
# File 'lib/docbook/output/pipeline/context.rb', line 14 def image_strategy @image_strategy end |
#parsed ⇒ Object
Returns the value of attribute parsed
14 15 16 |
# File 'lib/docbook/output/pipeline/context.rb', line 14 def parsed @parsed end |
#sort_glossary ⇒ Object
Returns the value of attribute sort_glossary
14 15 16 |
# File 'lib/docbook/output/pipeline/context.rb', line 14 def sort_glossary @sort_glossary end |
#title ⇒ Object
Returns the value of attribute title
14 15 16 |
# File 'lib/docbook/output/pipeline/context.rb', line 14 def title @title end |
#xml_path ⇒ Object
Returns the value of attribute xml_path
14 15 16 |
# File 'lib/docbook/output/pipeline/context.rb', line 14 def xml_path @xml_path end |