aboutsummaryrefslogtreecommitdiff
path: root/doc/api/ruby/example_match_package.rb
diff options
context:
space:
mode:
authorAvatar Richard Brown <rbrown@exherbo.org> 2008-08-12 19:32:02 +0100
committerAvatar Richard Brown <rbrown@exherbo.org> 2008-08-12 20:30:35 +0100
commit5359e071f7fe0e6a43764a9a6fa5160b3b2f24f6 (patch)
treefc6a404a413632eb725ecb1d8fa3e63eaf16929f /doc/api/ruby/example_match_package.rb
parentaacbe32dcf604490ce9211d40c0d11a6e78a4cdf (diff)
downloadpaludis-5359e071f7fe0e6a43764a9a6fa5160b3b2f24f6.tar.gz
paludis-5359e071f7fe0e6a43764a9a6fa5160b3b2f24f6.tar.xz
(ruby) Fix example parse_user_package_dep_spec
Diffstat (limited to 'doc/api/ruby/example_match_package.rb')
-rw-r--r--doc/api/ruby/example_match_package.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/ruby/example_match_package.rb b/doc/api/ruby/example_match_package.rb
index 7ee0cd6d1..e0ac15d9f 100644
--- a/doc/api/ruby/example_match_package.rb
+++ b/doc/api/ruby/example_match_package.rb
@@ -28,7 +28,7 @@ world = env.set('world')
# For each ID:
ids.each do | id |
# Is it paludis?
- if match_package(env, parse_user_package_dep_spec('sys-apps/paludis', []), id)
+ if match_package(env, parse_user_package_dep_spec('sys-apps/paludis', env, []), id)
puts id.to_s.ljust(49) + ': paludis'
elsif match_package_in_set(env, system, id)
puts id.to_s.ljust(49) + ': system'