Class: DamageControl::Plain
- Inherits:
-
Object
- Object
- DamageControl::Plain
- Defined in:
- lib/damagecontrol/diff_htmlizer.rb
Overview
Not used
Instance Method Summary collapse
-
#initialize(io) ⇒ Plain
constructor
A new instance of Plain.
- #visitDiff(diff) ⇒ Object
- #visitDiffEnd(diff) ⇒ Object
- #visitLine(line) ⇒ Object
Constructor Details
#initialize(io) ⇒ Plain
Returns a new instance of Plain.
55 56 57 |
# File 'lib/damagecontrol/diff_htmlizer.rb', line 55 def initialize(io) @io = io end |
Instance Method Details
#visitDiff(diff) ⇒ Object
59 60 |
# File 'lib/damagecontrol/diff_htmlizer.rb', line 59 def visitDiff(diff) end |
#visitDiffEnd(diff) ⇒ Object
62 63 |
# File 'lib/damagecontrol/diff_htmlizer.rb', line 62 def visitDiffEnd(diff) end |
#visitLine(line) ⇒ Object
65 66 67 |
# File 'lib/damagecontrol/diff_htmlizer.rb', line 65 def visitLine(line) @io << line.html_encoded end |