Module: RDF::TypeCheck
- Defined in:
- vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/lib/rdf/mixin/type_check.rb
Overview
An RDF type check mixin.
This module implements #type_error, which will raise TypeError.
Instance Method Summary collapse
-
#type_error(message) ⇒ Object
Default implementation of type_error, which returns false.
Instance Method Details
#type_error(message) ⇒ Object
Default implementation of type_error, which returns false. Classes including RDF::TypeCheck will raise TypeError instead.
17 18 19 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/lib/rdf/mixin/type_check.rb', line 17 def type_error() raise TypeError, end |