Module: RDF

Defined in:
lib/rdf/iiif/vocab.rb,
lib/rdf/iiif/version.rb,
lib/rdf/sioc_services_vocab.rb

Defined Under Namespace

Modules: IIIF Classes: IIIFPresentationDeprecated

Class Method Summary collapse

Class Method Details

.const_missing(const_name) ⇒ Object

deprecate SIOC::Services



6
7
8
9
10
# File 'lib/rdf/iiif/vocab.rb', line 6

def self.const_missing(const_name)
  super unless const_name == :IIIFPresentation
  warn "DEPRECATION WARNING: the class RDF::IIIFPresentation is deprecated. Use RDF::Vocab::IIIF from https://github.com/ruby-rdf/rdf-vocab instead."
  IIIFPresentationDeprecated
end