Class: RevealCK::Markdown::PreProcessorForDividers
- Inherits:
-
Object
- Object
- RevealCK::Markdown::PreProcessorForDividers
- Defined in:
- lib/reveal-ck/markdown/pre_processor_for_dividers.rb
Overview
This class embodies the preprocessing that starts with a traditional Markdown document and turns it into something that can later “become” reveal.js slides.
Instance Attribute Summary collapse
-
#doc ⇒ Object
readonly
Returns the value of attribute doc.
Instance Method Summary collapse
-
#initialize(doc) ⇒ PreProcessorForDividers
constructor
A new instance of PreProcessorForDividers.
- #process ⇒ Object
Constructor Details
#initialize(doc) ⇒ PreProcessorForDividers
Returns a new instance of PreProcessorForDividers.
8 9 10 |
# File 'lib/reveal-ck/markdown/pre_processor_for_dividers.rb', line 8 def initialize(doc) @doc = doc end |
Instance Attribute Details
#doc ⇒ Object (readonly)
Returns the value of attribute doc.
7 8 9 |
# File 'lib/reveal-ck/markdown/pre_processor_for_dividers.rb', line 7 def doc @doc end |
Instance Method Details
#process ⇒ Object
12 13 14 15 16 |
# File 'lib/reveal-ck/markdown/pre_processor_for_dividers.rb', line 12 def process end |