class Crommand::Something(T)
- Crommand::Something(T)
- Crommand::Optional(T)
- Reference
- Object
Overview
An implementation of the Optional class the represents an optional with a value set.
Defined in:
optional.crConstructors
-
.new(value : T)
Constructor that takes the value to be set.
Instance Method Summary
-
#set? : Bool
Always returns true.
-
#value : T
Retrieves the value associated with the Something instance.