Skip to content

Commit 5e43957

Browse files
committed
Tweaks to Vocabulary writer.
1 parent 0034243 commit 5e43957

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/rdf/vocab/writer.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,14 @@ def write_epilogue
9292

9393
@output.print %(# -*- encoding: utf-8 -*-
9494
# frozen_string_literal: true
95-
# This file generated automatically using vocab-fetch from #{source}
95+
# This file generated automatically using rdf vocabulary format from #{source}
9696
require 'rdf'
9797
module #{module_name}
9898
# @!parse
9999
# # Vocabulary for <#{base_uri}>
100-
# class #{vocab.name} < RDF::#{"Strict" if strict}Vocabulary
100+
# class #{class_name} < RDF::#{"Strict" if strict}Vocabulary
101101
# end
102-
class #{vocab.name} < RDF::#{"Strict" if strict}Vocabulary("#{base_uri}")
102+
class #{class_name} < RDF::#{"Strict" if strict}Vocabulary("#{base_uri}")
103103
).gsub(/^ /, '')
104104

105105
# Split nodes into Class/Property/Datatype/Other

0 commit comments

Comments
 (0)