Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Yardoc update.

  • Loading branch information...
commit 81abe2377b50b4bd22ae0bb84937fcfc9140207d 1 parent 27ea2dc
Gregg Kellogg gkellogg authored
Showing with 10 additions and 7 deletions.
  1. +6 −3 lib/rdf/microdata/expansion.rb
  2. +4 −4 lib/rdf/microdata/reader.rb
9 lib/rdf/microdata/expansion.rb
View
@@ -47,13 +47,16 @@ def rule(name, &block)
# Takes a list of antecedent patterns used to find solutions against a queryable
# object. Yields each consequent with bindings from the solution
class Rule
- # @attr [Array<RDF::Query::Pattern>]
+ # @!attribute [r]
+ # @return [Array<RDF::Query::Pattern>] patterns necessary to invoke this rule
attr_reader :antecedents
- # @attr [Array<RDF::Query::Pattern>]
+ # @!attribute [r] consequents
+ # @return [Array<RDF::Query::Pattern>] result of this rule
attr_reader :consequents
- # @attr [String] name
+ # @!attribute [r] name
+ # @return [String] Name of this rule
attr_reader :name
##
8 lib/rdf/microdata/reader.rb
View
@@ -24,9 +24,8 @@ class Reader < RDF::Reader
# @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
##
@@ -43,7 +42,8 @@ def base_uri
# 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
##
Please sign in to comment.
Something went wrong with that request. Please try again.