Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Yardoc update.

  • Loading branch information...
commit 81abe2377b50b4bd22ae0bb84937fcfc9140207d 1 parent 27ea2dc
Gregg Kellogg gkellogg authored
9 lib/rdf/microdata/expansion.rb
@@ -47,13 +47,16 @@ def rule(name, &block)
47 47 # Takes a list of antecedent patterns used to find solutions against a queryable
48 48 # object. Yields each consequent with bindings from the solution
49 49 class Rule
50   - # @attr [Array<RDF::Query::Pattern>]
  50 + # @!attribute [r]
  51 + # @return [Array<RDF::Query::Pattern>] patterns necessary to invoke this rule
51 52 attr_reader :antecedents
52 53
53   - # @attr [Array<RDF::Query::Pattern>]
  54 + # @!attribute [r] consequents
  55 + # @return [Array<RDF::Query::Pattern>] result of this rule
54 56 attr_reader :consequents
55 57
56   - # @attr [String] name
  58 + # @!attribute [r] name
  59 + # @return [String] Name of this rule
57 60 attr_reader :name
58 61
59 62 ##
8 lib/rdf/microdata/reader.rb
@@ -24,9 +24,8 @@ class Reader < RDF::Reader
24 24 # @private
25 25 class CrawlFailure < StandardError; end
26 26
27   - # Returns the HTML implementation module for this reader instance.
28   - #
29   - # @attr_reader [Module]
  27 + # @!attribute [r] implementation
  28 + # @return [Module] Returns the HTML implementation module for this reader instance.
30 29 attr_reader :implementation
31 30
32 31 ##
@@ -43,7 +42,8 @@ def base_uri
43 42
44 43 # Interface to registry
45 44 class Registry
46   - # @attr_reader [RDF::URI] uri Prefix of vocabulary
  45 + # @!attribute [r] uri
  46 + # @return [RDF::URI] Prefix of vocabulary
47 47 attr_reader :uri
48 48
49 49 ##

0 comments on commit 81abe23

Please sign in to comment.
Something went wrong with that request. Please try again.