aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2012-08-24 13:21:24 +0200
committerAlex Legler <a3li@gentoo.org>2012-08-24 13:21:24 +0200
commit657eadebe2581de50726cc949a0464109972c32c (patch)
treef94ecd8f8559191c41341c6befba8e84ed4c3295 /lib
parentTicket #191: Support md5-cache (diff)
downloadglsamaker-657eadebe2581de50726cc949a0464109972c32c.tar.gz
glsamaker-657eadebe2581de50726cc949a0464109972c32c.tar.bz2
glsamaker-657eadebe2581de50726cc949a0464109972c32c.zip
Fix recently added YARD comments
Diffstat (limited to 'lib')
-rw-r--r--lib/glsamaker/portage.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/glsamaker/portage.rb b/lib/glsamaker/portage.rb
index 2f95045..4cc6b70 100644
--- a/lib/glsamaker/portage.rb
+++ b/lib/glsamaker/portage.rb
@@ -120,8 +120,8 @@ module Glsamaker
# :pdepend, :provide, :eapi, :properties, :defined_phases
# as per portage/pym/portage/cache/metadata.py (database.auxdbkey_order)
#
- # @param [String] Package atom (without version, see next parameter)
- # @param [String] Desired version, tries to use the last available one (as decided by a rather stupid technique)
+ # @param [String] atom Package atom (without version, see next parameter)
+ # @param [String] version Desired version, tries to use the last available one (as decided by a rather stupid technique)
# @return [Hash{Symbol => String, Array}] A hash with all available metadata (see above for keys)
def get_metadata(atom, version = :latest)
raise(ArgumentError, "Invalid package atom") unless Portage.valid_atom?(atom)