Sha256: 86222d34d84ae8f1e120f1aa3891c1b6b8ef64b68d8b13f3b94383582483480b

Contents?: true

Size: 1.21 KB

Versions: 4

Compression:

Stored size: 1.21 KB

Contents

module RDF::N3
  # @!parse
  #   # Crypto namespace
  #   class Crypto < RDF::Vocabulary; end
  const_set("Crypto", Class.new(RDF::Vocabulary("http://www.w3.org/2000/10/swap/crypto#")))
  RDF::Vocabulary.register(:crypto, Crypto)

  # @!parse
  #   # Log namespace
  #   class Log < RDF::Vocabulary; end
  const_set("Log", Class.new(RDF::Vocabulary("http://www.w3.org/2000/10/swap/log#")))
  RDF::Vocabulary.register(:log, Log)

  # @!parse
  #   # Math namespace
  #   class Math < RDF::Vocabulary; end
  const_set("Math", Class.new(RDF::Vocabulary("http://www.w3.org/2000/10/swap/math#")))
  RDF::Vocabulary.register(:math, Math)

  # @!parse
  #   # Rei namespace
  #   class Rei < RDF::Vocabulary; end
  const_set("Rei", Class.new(RDF::Vocabulary("http://www.w3.org/2000/10/swap/reify#")))
  RDF::Vocabulary.register(:rei, Rei)

  # @!parse
  #   # Str namespace
  #   class Str < RDF::Vocabulary; end
  const_set("Str", Class.new(RDF::Vocabulary("http://www.w3.org/2000/10/swap/string#")))
  RDF::Vocabulary.register(:string, Str)

  # @!parse
  #   # Time namespace
  #   class Time < RDF::Vocabulary; end
  const_set("Time", Class.new(RDF::Vocabulary("http://www.w3.org/2000/10/swap/time#")))
  RDF::Vocabulary.register(:time, Time)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rdf-n3-3.3.0 lib/rdf/n3/vocab.rb
rdf-n3-3.2.1 lib/rdf/n3/vocab.rb
rdf-n3-3.2.0 lib/rdf/n3/vocab.rb
rdf-n3-3.1.2 lib/rdf/n3/vocab.rb