aboutsummaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-23 08:54:11 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-23 08:54:11 +0100
commitdd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a (patch)
treeba2da539f103634b8ddb52a477bbace3b4a52c57 /ruby
parent4209b95ecc83365718b3dd5556a6866a662e95c5 (diff)
downloadpaludis-dd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a.tar.gz
paludis-dd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a.tar.xz
PrivateImplementationPattern -> Pimp, Implementation -> Imp
Diffstat (limited to 'ruby')
-rw-r--r--ruby/paludis_ruby.cc6
-rw-r--r--ruby/paludis_ruby.hh4
2 files changed, 5 insertions, 5 deletions
diff --git a/ruby/paludis_ruby.cc b/ruby/paludis_ruby.cc
index 8564b5dc4..e25e2e6b9 100644
--- a/ruby/paludis_ruby.cc
+++ b/ruby/paludis_ruby.cc
@@ -21,7 +21,7 @@
#include <paludis_ruby.hh>
#include <paludis/util/config_file.hh>
#include <paludis/util/singleton-impl.hh>
-#include <paludis/util/private_implementation_pattern-impl.hh>
+#include <paludis/util/pimp-impl.hh>
#include <paludis/dep_list_exceptions.hh>
#include <paludis/match_package.hh>
#include <paludis/version_spec.hh>
@@ -41,7 +41,7 @@ template class Singleton<RegisterRubyClass>;
namespace paludis
{
template<>
- struct Implementation<RegisterRubyClass>
+ struct Imp<RegisterRubyClass>
{
std::list<void (*)()> funcs;
};
@@ -155,7 +155,7 @@ namespace
}
RegisterRubyClass::RegisterRubyClass() :
- PrivateImplementationPattern<RegisterRubyClass>()
+ Pimp<RegisterRubyClass>()
{
}
diff --git a/ruby/paludis_ruby.hh b/ruby/paludis_ruby.hh
index d7f1369e2..0155f7b24 100644
--- a/ruby/paludis_ruby.hh
+++ b/ruby/paludis_ruby.hh
@@ -23,7 +23,7 @@
#include "config.h"
-#include <paludis/util/private_implementation_pattern.hh>
+#include <paludis/util/pimp.hh>
#include <paludis/util/attributes.hh>
#include <paludis/util/exception.hh>
#include <paludis/util/fs_entry.hh>
@@ -151,7 +151,7 @@ namespace paludis
class RegisterRubyClass :
public Singleton<RegisterRubyClass>,
- private PrivateImplementationPattern<RegisterRubyClass>
+ private Pimp<RegisterRubyClass>
{
friend class Singleton<RegisterRubyClass>;