Class: PrettyDiff::BasicGenerator::ChunkGen

Inherits:
AbstractGenerator show all
Defined in:
lib/pretty_diff/basic_generator.rb

Instance Method Summary collapse

Methods inherited from AbstractGenerator

[], #initialize

Constructor Details

This class inherits a constructor from PrettyDiff::AbstractGenerator

Instance Method Details

#generateObject



11
12
13
14
15
# File 'lib/pretty_diff/basic_generator.rb', line 11

def generate
   :div, :class => 'diff-chunk' do
    numbers + code
  end
end