diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-06 15:06:00 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-06 15:06:00 +0000 |
commit | 1d3d27b42d1371ba6242ec217ca803f107ceb9eb (patch) | |
tree | 8d7e184fd63610124717df8dec31e719901965ad /lib/singleton.rb | |
parent | 94df732f8b69356626130e0ec8b2dbc9340082ef (diff) | |
download | ruby-1d3d27b42d1371ba6242ec217ca803f107ceb9eb.tar.gz |
forgot some checkins.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/singleton.rb')
-rw-r--r-- | lib/singleton.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/singleton.rb b/lib/singleton.rb index aa245b32b2..f5c2d8346b 100644 --- a/lib/singleton.rb +++ b/lib/singleton.rb @@ -11,7 +11,7 @@ # a = SomeSingletonClass.new # error (`new' is private) module Singleton - def Singleton.append_features(klass) + def Singleton.included(klass) klass.private_class_method(:new) klass.instance_eval %{ @__instance__ = nil |