Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix wrong YARD param names.

  • Loading branch information...
commit ad519fc40bff962fcea4a1841f80ff29ed6399be 1 parent c622241
@netzpirat netzpirat authored
View
4 lib/guard/dsl.rb
@@ -441,7 +441,7 @@ def ignore_paths(*paths)
# @example Ignore some paths
# ignore %r{^ignored/path/}, /man/
#
- # @param [Regexp] regexp a pattern for ignoring paths
+ # @param [Regexp] regexps a pattern for ignoring paths
#
def ignore(*regexps)
::Guard.listener = ::Guard.listener.ignore(*regexps)
@@ -452,7 +452,7 @@ def ignore(*regexps)
# @example Filter some files
# ignore /\.txt$/, /.*\.zip/
#
- # @param [Regexp] regexp a pattern for filtering paths
+ # @param [Regexp] regexps a pattern for filtering paths
#
def filter(*regexps)
::Guard.listener = ::Guard.listener.filter(*regexps)
View
4 lib/guard/runner.rb
@@ -38,7 +38,7 @@ def deprecation_warning
# Runs a Guard-task on all registered guards.
#
# @param [Symbol] task the task to run
- # @param [Hash] scope either the Guard plugin or the group to run the task on
+ # @param [Hash] scopes either the Guard plugin or the group to run the task on
#
# @see self.run_supervised_task
#
@@ -147,7 +147,7 @@ def run_first_task_found(guard, tasks, task_param)
# Stop the task run for the all Guard plugins within a group if one Guard
# throws `:task_has_failed`.
#
- # @param [Hash] scope an hash with a Guard plugin or a group scope
+ # @param [Hash] scopes an hash with a Guard plugin or a group scope
# @yield the task to run
#
def scoped_guards(scopes = {})
View
2  lib/guard/watcher.rb
@@ -105,7 +105,7 @@ def match(file)
# Test if any of the files is the Guardfile.
#
- # @param [Array<String>] the files to test
+ # @param [Array<String>] files the files to test
# @return [Boolean] whether one of these files is the Guardfile
#
def self.match_guardfile?(files)
Please sign in to comment.
Something went wrong with that request. Please try again.