scala.runtime

class RichUnit

[source: scala/runtime/RichUnit.scala]

final class RichUnit
extends AnyRef
This class exists only as a dummy subclass so that there are two ambiguous implicit conversions from Unit to some subclass to Object. It's important that this class should NOT inherit from Ordered. Note - in reality the ambiguity is successfully introduced by any2stringadd and orderingToOrdered, and adding an implicit from () => RichUnit actually resolves the ambiguity by being more specific, and succeeds! So this class is probably useless, and unitWrapper has been removed from Predef.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf