Sha256: bf8d60dc979c3e6463089687d2061123f10e578216621e92fa40c5890e0ba391

Contents?: true

Size: 648 Bytes

Versions: 9

Compression:

Stored size: 648 Bytes

Contents

# This file is automatically generated by ./script/intern_context
# RDFa context for http://www.w3.org/2011/rdfa-context/html-rdfa-1.1

class RDF::RDFa::Context
  def self.find_with_html_rdfa_1_1(uri)
    if uri.to_s == "http://www.w3.org/2011/rdfa-context/html-rdfa-1.1"
      @_html_rdfa_1_1_prof ||= RDF::RDFa::Context.new(RDF::URI("http://www.w3.org/2011/rdfa-context/html-rdfa-1.1"),
      )
    else
      find_without_html_rdfa_1_1(uri)
    end
  end

  class << self
    ##
    # Override find to return this context, if matched
    alias_method :find_without_html_rdfa_1_1, :find
    alias_method :find, :find_with_html_rdfa_1_1
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rdf-rdfa-3.3.0 lib/rdf/rdfa/context/html.rb
rdf-rdfa-3.2.3 lib/rdf/rdfa/context/html.rb
rdf-rdfa-3.2.2 lib/rdf/rdfa/context/html.rb
rdf-rdfa-3.2.1 lib/rdf/rdfa/context/html.rb
rdf-rdfa-3.2.0 lib/rdf/rdfa/context/html.rb
rdf-rdfa-3.1.3 lib/rdf/rdfa/context/html.rb
rdf-rdfa-3.1.2 lib/rdf/rdfa/context/html.rb
rdf-rdfa-3.1.1 lib/rdf/rdfa/context/html.rb
rdf-rdfa-3.1.0 lib/rdf/rdfa/context/html.rb