Class: DamageControl::Plain

Inherits:
Object
  • Object
show all
Defined in:
lib/damagecontrol/diff_htmlizer.rb

Overview

Not used

Instance Method Summary collapse

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