Permalink
Browse files

Fix YARD docs

* YARD was generating warnings for the documentation
  • Loading branch information...
1 parent c9a0d43 commit 9d8b4cdedae9afc84ef997dfb0f0b62747ffc109 @dkubb committed Jun 4, 2012
Showing with 1 addition and 16 deletions.
  1. +1 −1 lib/yardstick/cli.rb
  2. +0 −3 lib/yardstick/rake/measurement.rb
  3. +0 −12 lib/yardstick/rake/verify.rb
View
@@ -8,7 +8,7 @@ class CLI
# @example
# Yardstick::CLI.run(%w[ article.rb ]) # => [ Measurement ]
#
- # @param [Array] *args
+ # @param [Array] args
# arguments passed in from the command line
#
# @return [Yardstick::MeasurementSet]
@@ -10,9 +10,6 @@ class Measurement < ::Rake::TaskLib
# List of paths to measure
#
- # @param [Array<#to_s>, #to_s] path
- # optional list of paths to measure
- #
# @return [undefined]
#
# @api public
@@ -7,39 +7,27 @@ class Verify < ::Rake::TaskLib
# Set the threshold
#
- # @param [Number] threshold
- # the threshold to set
- #
# @return [undefined]
#
# @api public
attr_writer :threshold
# Specify if the threshold should match the coverage
#
- # @param [Boolean] require_exact_threshold
- # true if the threshold should match the coverage, false if not
- #
# @return [undefined]
#
# @api public
attr_writer :require_exact_threshold
# List of paths to measure
#
- # @param [Array<#to_s>, #to_s] path
- # optional list of paths to measure
- #
# @return [undefined]
#
# @api public
attr_writer :path
# Specify if the coverage summary should be displayed
#
- # @param [Boolean] verbose
- # true if the coverage summary should be displayed, false if not
- #
# @return [undefined]
#
# @api public

0 comments on commit 9d8b4cd

Please sign in to comment.