An option to convert to Valuable, which provides the value method.
Value Members
final def!=(arg0: AnyRef): Boolean
Definition Classes
AnyRef
final def!=(arg0: Any): Boolean
Definition Classes
Any
final def##(): Int
Definition Classes
AnyRef → Any
final def==(arg0: AnyRef): Boolean
Definition Classes
AnyRef
final def==(arg0: Any): Boolean
Definition Classes
Any
final defasInstanceOf[T0]: T0
Definition Classes
Any
defclone(): AnyRef
Attributes
protected[java.lang]
Definition Classes
AnyRef
Annotations
@throws()
final defeq(arg0: AnyRef): Boolean
Definition Classes
AnyRef
defequals(arg0: Any): Boolean
Definition Classes
AnyRef → Any
deffinalize(): Unit
Attributes
protected[java.lang]
Definition Classes
AnyRef
Annotations
@throws()
final defgetClass(): Class[_]
Definition Classes
AnyRef → Any
defhashCode(): Int
Definition Classes
AnyRef → Any
final defisInstanceOf[T0]: Boolean
Definition Classes
Any
final defne(arg0: AnyRef): Boolean
Definition Classes
AnyRef
final defnotify(): Unit
Definition Classes
AnyRef
final defnotifyAll(): Unit
Definition Classes
AnyRef
final defsynchronized[T0](arg0: ⇒ T0): T0
Definition Classes
AnyRef
deftoString(): String
Definition Classes
AnyRef → Any
defvalue: T
Returns the value contained in the wrapped Option, if defined, else throws TestFailedException with
a detail message indicating the option was not defined.
Wrapper class that adds a
value
method toOption
, allowing you to make statements like:opt.value should be > 9