OperationsClass
- Namespace
- Ancestors
-
-
Enumerable
-
Value
-
Sequence of Operations based on a sequence of Matches. Each match is turned into a Copy, Delete, Insert, or Replace operation based on its relation to other matches in the sequence of matches. Empty copy operations will never be a part of this sequence.
Children
- Copy
-
Slice that should be copied from the old sequence.
- Delete
-
Slice that should be deleted from the old sequence.
- Insert
-
Slice that should be inserted from the new sequence.
- Replace
-
Slice of the old sequence that should be replaced with one from the new sequence.
Constructor
initialize(matchesEnumerable<
Match>
)#⚙
Initializes a sequence of operations based on matches.
Instance Methods
each{ |operationOperation| … }self#⚙
Enumerates the operations.
eachEnumerator<
Operation>
#⚙
Returns an Enumerator over the operations.