Class: PrettyDiff::BasicGenerator::ChunkGen
- Inherits:
-
AbstractGenerator
- Object
- AbstractGenerator
- PrettyDiff::BasicGenerator::ChunkGen
- Defined in:
- lib/pretty_diff/basic_generator.rb
Instance Method Summary collapse
Methods inherited from AbstractGenerator
Constructor Details
This class inherits a constructor from PrettyDiff::AbstractGenerator
Instance Method Details
#generate ⇒ Object
11 12 13 14 15 |
# File 'lib/pretty_diff/basic_generator.rb', line 11 def generate content_tag :div, :class => 'diff-chunk' do numbers + code end end |