struct Grits::DiffIterator

Included Modules

Defined in:

grits/callbacks/diff_foreach_callbacks.cr

Constructors

Instance Method Summary

Instance methods inherited from module Grits::Mixins::Callbacks

add_callbacks add_callbacks

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def add_callbacks #
Description copied from module Grits::Mixins::Callbacks

includer should make an method that


[View source]
def execute(diff : Grits::Diff) #

[View source]
def initialize #

[View source]
def on_binary(&block : DiffBinaryCb) #

[View source]
def on_file(&block : DiffFileCb) #

[View source]
def on_hunk(&block : DiffHunkCb) #

[View source]
def on_line(&block : DiffLineCb) #

[View source]