Class: Thy::Types::InstanceOf
- Inherits:
-
Object
- Object
- Thy::Types::InstanceOf
- Defined in:
- lib/thy/types/instance_of.rb
Instance Method Summary collapse
- #check(value) ⇒ Object
-
#initialize(klass) ⇒ InstanceOf
constructor
A new instance of InstanceOf.
Constructor Details
#initialize(klass) ⇒ InstanceOf
Returns a new instance of InstanceOf.
6 7 8 |
# File 'lib/thy/types/instance_of.rb', line 6 def initialize(klass) @klass = klass end |