Class: Rtype::Behavior::Not
Instance Method Summary collapse
- #error_message(value) ⇒ Object
-
#initialize(*types) ⇒ Not
constructor
A new instance of Not.
- #valid?(value) ⇒ Boolean
Methods inherited from Base
Constructor Details
#initialize(*types) ⇒ Not
Returns a new instance of Not.
4 5 6 |
# File 'lib/rtype/behavior/not.rb', line 4 def initialize(*types) @types = types end |