Sha256: 3e617f727e3640bd836160afb48636550244a47e97d5c3633c0baaf2a0cc1aa5
Contents?: true
Size: 484 Bytes
Versions: 9
Compression:
Stored size: 484 Bytes
Contents
## # Extensions for Ruby's `Symbol` class. class Symbol ## # Returns `true` if this is a keyword symbol. # # @return [Boolean] def keyword? to_s[-1] == ?: end end # Update RDF::URI if RDF is loaded begin require 'rdf' ## # Extensions for RDF::URI class RDF::URI # Original lexical value of this URI to allow for round-trip serialization. def lexical=(value); @lexical = value; end def lexical; @lexical; end end rescue LoadError # Ignore end
Version data entries
9 entries across 9 versions & 1 rubygems