disu.se

GroupsClass

Namespace

Lookout::Diff

Ancestors
  1. Enumerable

  2. Value

  3. Object

Sequence of Operations bundled together into Groups that can then be used to show the subsequences that differ, folding away the subsequences that are the same, only keeping some context around the folding points.

Constructor

initialize(operationsOperations, contextInteger = 3)#

Initializes the sequence with the operations to group and the number of elements to leave as context.

Instance Methods

each{ |groupGroup| … }self#

Enumerates the groups of operations.

eachEnumerator<Group>#

Returns an Enumerator over the groups of operations.