aboutsummaryrefslogtreecommitdiff
path: root/doc/api/ruby/example_match_package.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_match_package.rb
parentdc24637ad9ea08b179bf76969533b29e95467eb4 (diff)
downloadpaludis-0f3eb4b7da157630049ad93334338c4ba796304c.tar.gz
paludis-0f3eb4b7da157630049ad93334338c4ba796304c.tar.xz
Replace EnvironmentMaker with EnvironmentFactory.
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 61788d1ac..7ee0cd6d1 100644
--- a/doc/api/ruby/example_match_package.rb
+++ b/doc/api/ruby/example_match_package.rb
@@ -14,7 +14,7 @@ include Paludis
exit_status = 0
# 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 all installed packages
ids = env[Selection::AllVersionsSorted.new(