Permalink
Browse files

Update each_dependency documentation

  • Loading branch information...
1 parent 4df113e commit 174b43ae2c9445629306be957bc8957bdc706a4e @matheusmoreira committed Jun 6, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/jewel/gem/metadata.rb
@@ -74,8 +74,9 @@ def all_dependencies
#
# @option options [true, false, :only] :development (false) whether
# runtime and development dependencies should be included
+ # @yield [gem_name, *requirements]
# @yieldparam [String] gem_name the name of the gem
- # @yieldparam [String, nil] version the required version
+ # @yieldparam [Array<String>] requirements the version requirements
# @since 0.0.2
def each_dependency(options = {})
return enum_for :each_dependency, options unless block_given?

0 comments on commit 174b43a

Please sign in to comment.