class

C0::DiffBuilder

Inherits Reference / Object

Builder for C0DIFF documents.

Constructors

Instance methods

file(path : String, &) : Nil

Add a file edit.

Source
replace(context_before : String, old_text : String, new_text : String, context_after : String = "") : Nil

Convenience: add a simple find/replace section.

Source
section

Add a section (pattern) within the current file.

Source
to_slice
Source