aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Richard Brown <rbrown@exherbo.org> 2007-11-18 15:17:16 +0000
committerAvatar Richard Brown <rbrown@exherbo.org> 2007-11-18 15:17:16 +0000
commit059e7452fb6cfc996c95d047c89cdc01d8e5b2db (patch)
tree388b853dcb78a0c7312f3ebf4b585bc12c6d8647
parent118f962034c616b03635d8b33366088260c5ae15 (diff)
downloadpaludis-059e7452fb6cfc996c95d047c89cdc01d8e5b2db.tar.gz
paludis-059e7452fb6cfc996c95d047c89cdc01d8e5b2db.tar.xz
typos
-rw-r--r--doc/api/ruby/example_dep_tree.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/ruby/example_dep_tree.rb b/doc/api/ruby/example_dep_tree.rb
index 01bd2cd..45ee048 100644
--- a/doc/api/ruby/example_dep_tree.rb
+++ b/doc/api/ruby/example_dep_tree.rb
@@ -32,14 +32,14 @@ def collect_dependencies env, id, spec, results, recursing_sets = {}
elsif spec.instance_of? UseDepSpec
# Was this use flag enabled (or, if we're inverse, disabled) when we
# built this package?
- if env.query_use(spec.flag(), id) ^ spec.inverse?
+ if env.query_use(spec.flag, id) ^ spec.inverse?
spec.each do | child |
collect_dependencies(env, id, child, results, recursing_sets)
end
end
elsif spec.instance_of? PackageDepSpec
- # spec.package may be a zero pointer if it's a whildcarded dep.
+ # spec.package may be a zero pointer if it's a wildcarded dep.
if spec.package and spec.package == "app-arch/unzip"
results[id.to_s][:has_dep] = true
end
@@ -91,7 +91,7 @@ def collect_extensions env, id, spec, results, recursing_sets = {}
elsif spec.instance_of? UseDepSpec
# Was this use flag enabled (or, if we're inverse, disabled) when we
# built this package?
- if env.query_use(spec.flag(), id) ^ spec.inverse?
+ if env.query_use(spec.flag, id) ^ spec.inverse?
spec.each do | child |
collect_extensions(env, id, child, results, recursing_sets)
end