aboutsummaryrefslogtreecommitdiff
path: root/doc/api/ruby/example_dep_tree.rb
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-08-12 14:54:14 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-08-12 16:28:19 +0100
commit0f3eb4b7da157630049ad93334338c4ba796304c (patch)
tree8ca4326bbc6d54fa6839a35402c56d0844c94757 /doc/api/ruby/example_dep_tree.rb
parentdc24637ad9ea08b179bf76969533b29e95467eb4 (diff)
downloadpaludis-0f3eb4b7da157630049ad93334338c4ba796304c.tar.gz
paludis-0f3eb4b7da157630049ad93334338c4ba796304c.tar.xz
Replace EnvironmentMaker with EnvironmentFactory.
Diffstat (limited to 'doc/api/ruby/example_dep_tree.rb')
-rw-r--r--doc/api/ruby/example_dep_tree.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/ruby/example_dep_tree.rb b/doc/api/ruby/example_dep_tree.rb
index bddbdcccd..db8c298d7 100644
--- a/doc/api/ruby/example_dep_tree.rb
+++ b/doc/api/ruby/example_dep_tree.rb
@@ -112,7 +112,7 @@ def collect_extensions env, id, spec, results, recursing_sets = {}
end
# We start with an Environment, respecting the user's '--environment' choice.
-env = EnvironmentMaker.instance.make_from_spec(ExampleCommandLine.instance.environment)
+env = EnvironmentFactory.instance.create(ExampleCommandLine.instance.environment)
# Fetch package IDs for all installed packages.
ids = env[Selection::AllVersionsSorted.new(