Class: Literal::Types::PredicateType
- Inherits:
-
Object
- Object
- Literal::Types::PredicateType
- Includes:
- Literal::Type
- Defined in:
- lib/literal/types/predicate_type.rb
Instance Method Summary collapse
- #===(other) ⇒ Object
-
#initialize(message:, block:) ⇒ PredicateType
constructor
A new instance of PredicateType.
- #inspect ⇒ Object
Methods included from Literal::Type
Constructor Details
#initialize(message:, block:) ⇒ PredicateType
Returns a new instance of PredicateType.
6 7 8 9 10 11 |
# File 'lib/literal/types/predicate_type.rb', line 6 def initialize(message:, block:) @message = @block = block freeze end |