lib/rdf/microdata/reader.rb in rdf-microdata-0.3.0 vs lib/rdf/microdata/reader.rb in rdf-microdata-1.0.0

- old
+ new

@@ -22,13 +22,12 @@ DEFAULT_REGISTRY = File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "..", "etc", "registry.json")) # @private class CrawlFailure < StandardError; end - # Returns the HTML implementation module for this reader instance. - # - # @attr_reader [Module] + # @!attribute [r] implementation + # @return [Module] Returns the HTML implementation module for this reader instance. attr_reader :implementation ## # Returns the base URI determined by this reader. # @@ -41,10 +40,11 @@ @options[:base_uri] end # Interface to registry class Registry - # @attr_reader [RDF::URI] uri Prefix of vocabulary + # @!attribute [r] uri + # @return [RDF::URI] Prefix of vocabulary attr_reader :uri ## # Initialize the registry from a URI or file path # \ No newline at end of file