Class: Array

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

Overview

Add visiting capabilities to Array

Instance Method Summary collapse

Instance Method Details

#accept(visitor) ⇒ Object



146
147
148
149
150
151
152
# File 'lib/damagecontrol/diff_parser.rb', line 146

def accept(visitor)
  each do |d| 
    visitor.visitDiff(d)
    d.accept(visitor)
    visitor.visitDiffEnd(d)
  end
end