Sha256: fb7e5b1b54755d1daa9fbc5553b53d1b0dcbf241af50f62561ae4cd5904c4c98
Contents?: true
Size: 477 Bytes
Versions: 91
Compression:
Stored size: 477 Bytes
Contents
module RDF ## # An RDF type check mixin. # # This module implements #type_error, which will raise TypeError. # # @see RDF::Value # @see RDF::Literal # @see RDF::Literal module TypeCheck ## # Default implementation of type_error, which returns false. # Classes including RDF::TypeCheck will raise TypeError # instead. # # @raise [TypeError] def type_error(message) raise TypeError, message end end # TypeCheck end # RDF
Version data entries
91 entries across 91 versions & 1 rubygems