SetClass
- Namespace
- Ancestors
-
-
Enumerable
-
Value
-
Formats Operations on an undordered set. Added subsequences are shown having each element prefixed by “+” and deleted subsequences by “-”. Replaced subsequences are shown as a deleted subsequence followed by an added subsequence.
This format is used by Difference::Hash.
Constructor
initialize(operationsOperations)#⚙
Formats operations as they would be applied to an unordered set.
Instance Methods
each{ |stringString| … }self#⚙
Enumerates the formatted operations.
eachEnumerator<
String>
#⚙
Returns enumerator over the formatted operations.
to_sString#⚙
Returns the concatenation of the formatted operations.