Skip to content

Commit

Permalink
(Maint) Use --api instead of generic --query in yardopts
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarlisle committed Jan 8, 2013
1 parent 59c8729 commit 7490e18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .yardopts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
--tag dsl:"DSL"
--no-transitive-tag api
--template-path yardoc/templates
--query has_tag?(:api)
--api public
--api private
--hide-void-return
lib/**/*.rb
4 changes: 2 additions & 2 deletions lib/puppet/parser/scope.rb
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def lookupvar(name, options = {})
# @param options [Hash] Additional options, not part of api.
# @return [Object] the value assigned to the given varname
# @see #[]=
# @api
# @api public
#
def [](varname, options={})
lookupvar(varname, options)
Expand Down Expand Up @@ -393,7 +393,7 @@ def setvar(name, value, options = {})
# @param value [String] The value to assign to the given variable name.
# @param options [Hash] Additional options, not part of api.
#
# @api
# @api public
#
def []=(varname, value, options = {})
setvar(varname, value, options = {})
Expand Down

0 comments on commit 7490e18

Please sign in to comment.