• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ruby-rdf / rdf-rdfa / 11317674118

13 Oct 2024 09:03PM UTC coverage: 90.142%. Remained the same
11317674118

push

github

gkellogg
Remove duplicate datatype in writer lang option

1079 of 1197 relevant lines covered (90.14%)

1322.43 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

87.5
/lib/rdf/rdfa/context/html.rb
1
# This file is automatically generated by ./script/intern_context
2
# RDFa context for http://www.w3.org/2011/rdfa-context/html-rdfa-1.1
3

4
class RDF::RDFa::Context
2✔
5
  def self.find_with_html_rdfa_1_1(uri)
2✔
6
    if uri.to_s == "http://www.w3.org/2011/rdfa-context/html-rdfa-1.1"
922✔
7
      @_html_rdfa_1_1_prof ||= RDF::RDFa::Context.new(RDF::URI("http://www.w3.org/2011/rdfa-context/html-rdfa-1.1"),
922✔
8
      )
9
    else
10
      find_without_html_rdfa_1_1(uri)
×
11
    end
12
  end
13

14
  class << self
2✔
15
    ##
16
    # Override find to return this context, if matched
17
    alias_method :find_without_html_rdfa_1_1, :find
2✔
18
    alias_method :find, :find_with_html_rdfa_1_1
2✔
19
  end
20
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc