Skip to content

Commit 7442092

Browse files
committed
RDF::XML is defined in RDFa, change autoload.
1 parent 7204fcb commit 7442092

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/rdf/rdfxml.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
require 'rdf'
33

44
module RDF
5+
autoload :XML, 'rdf/rdfa/vocab'
56
##
67
# **`RDF::RDFXML`** is an RDF/XML extension for RDF.rb.
78
#
@@ -24,7 +25,6 @@ module RDFXML
2425
autoload :Reader, 'rdf/rdfxml/reader'
2526
autoload :Writer, 'rdf/rdfxml/writer'
2627
autoload :VERSION, 'rdf/rdfxml/version'
27-
autoload :XML, 'rdf/rdfxml/vocab'
2828

2929
# Regexp matching an NCName.
3030
NC_REGEXP = Regexp.new(

0 commit comments

Comments
 (0)