Class: Literal::SuccessType
- Inherits:
-
Generic
- Object
- Type
- Generic
- Literal::SuccessType
- Defined in:
- lib/literal/success_type.rb
Instance Method Summary collapse
- #===(value) ⇒ Object
-
#initialize(type) ⇒ SuccessType
constructor
A new instance of SuccessType.
- #inspect ⇒ Object
- #new(value) ⇒ Object
Methods included from Modifiers
Constructor Details
#initialize(type) ⇒ SuccessType
Returns a new instance of SuccessType.
4 5 6 |
# File 'lib/literal/success_type.rb', line 4 def initialize(type) @type = type end |