Method: YardTypes::Type#check

Defined in:
lib/yard_types/types.rb

#check(obj) ⇒ Boolean

Returns whether the object is of this type.

Raises:

  • (NotImplementedError)

    must be handled by the subclasses.



94
95
96
# File 'lib/yard_types/types.rb', line 94

def check(obj)
  raise NotImplementedError
end