Sha256: 36f6ca132a6c0cd8c16336298fde72f0104065bf15321f111e6e3a835a0f17fc
Contents?: true
Size: 427 Bytes
Versions: 22
Compression:
Stored size: 427 Bytes
Contents
module Spira::Types ## # This type takes RDF Resource objects and provides RDF::URI objects for the # ruby representation. # # @see Spira::Type # @see http://rdf.rubyforge.org/RDF/URI.html class URI include Spira::Type def self.unserialize(value) RDF::URI(value) end def self.serialize(value) RDF::URI(value) end register_alias :uri register_alias RDF::URI end end
Version data entries
22 entries across 22 versions & 1 rubygems