class C0::SectionBuilder

Overview

Builder for individual diff sections.

Defined in:

c0/diff.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(io : IO::Memory) #

[View source]

Instance Method Detail

def anchor(text : String) : Nil #

Add literal anchor text.


[View source]
def sub(old_text : String, new_text : String) : Nil #

Add a substitution (old → new).


[View source]