From 4b4f69b9bfbd33556e23262f57cf6d944dfd9f63 Mon Sep 17 00:00:00 2001
From: Xavier Noria <fxn@hashref.com>
Date: Sun, 28 Mar 2010 04:08:54 +0200
Subject: AS guide: warns about the singleton classes of nil, true, and false
 according to what
 http://redmine.ruby-lang.org/repositories/diff/ruby-19/object.c?rev=27022
 blesses

---
 railties/guides/source/active_support_core_extensions.textile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'railties/guides/source/active_support_core_extensions.textile')

diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile
index 0a9374e028..a8410a8dd2 100644
--- a/railties/guides/source/active_support_core_extensions.textile
+++ b/railties/guides/source/active_support_core_extensions.textile
@@ -210,7 +210,7 @@ String.new.singleton_class # => #<Class:#<String:0x17a1d1c>>
 </ruby>
 
 WARNING: Fixnums and symbols have no singleton classes, +singleton_class+
-raises +TypeError+ on them.
+raises +TypeError+ on them. Moreover, the singleton classes of +nil+, +true+, and +false+, are +NilClass+, +TrueClass+, and +FalseClass+, respectively.
 
 NOTE: Defined in +active_support/core_ext/object/singleton_class.rb+.
 
-- 
cgit v1.2.3

