Class: HtmlConverter
- Inherits:
-
Object
- Object
- HtmlConverter
- Defined in:
- lib/wee-pm/converter.rb
Direct Known Subclasses
Instance Method Summary collapse
- #count_overlays(content) ⇒ Object
- #render_annotations_on(r, annotations) ⇒ Object
- #render_on(r, overlay, content) ⇒ Object
Instance Method Details
#count_overlays(content) ⇒ Object
4 5 6 7 8 |
# File 'lib/wee-pm/converter.rb', line 4 def (content) conv = converter() conv.count = true SlidesMarkup.new.convert(content, conv) end |
#render_annotations_on(r, annotations) ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/wee-pm/converter.rb', line 20 def render_annotations_on(r, annotations) conv = converter() conv.count = false conv. = nil @r = r r << SlidesMarkup.new.convert(annotations, conv) end |
#render_on(r, overlay, content) ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/wee-pm/converter.rb', line 10 def render_on(r, , content) conv = converter() conv.count = false conv. = if > 0 @r = r r << SlidesMarkup.new.convert(content, conv) end end |