LoneElementStringWrapper
Wrapper class that adds a loneElement
method to String
for which an
implicit Collecting[C]
is available.
Through the implicit conversion provided by trait LoneElement
, this class allows you to make statements like:
"9".loneElement should be ('9')
- Value parameters:
- collecting
a typeclass that enables the
loneElement
syntax- s
the
String
to wrap
class Object
trait Matchable
class Any