aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/active_support_core_extensions.textile
diff options
context:
space:
mode:
authorrohit <rohit.arondekar@gmail.com>2010-06-21 10:16:06 +0530
committerrohit <rohit.arondekar@gmail.com>2010-06-21 10:16:06 +0530
commit94a7964a89efcd1b66ade39759a4cf8cb8c92266 (patch)
tree3ece07a802daa15cbd190be7604c20bb8444f563 /railties/guides/source/active_support_core_extensions.textile
parent9b7540bd9220333097a1ed2f00e09a4492916570 (diff)
downloadrails-94a7964a89efcd1b66ade39759a4cf8cb8c92266.tar.gz
rails-94a7964a89efcd1b66ade39759a4cf8cb8c92266.tar.bz2
rails-94a7964a89efcd1b66ade39759a4cf8cb8c92266.zip
Guides: AS Core Extentions, fix warning message to display correctly.
Diffstat (limited to 'railties/guides/source/active_support_core_extensions.textile')
-rw-r--r--railties/guides/source/active_support_core_extensions.textile3
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile
index 1ce0ed8d7b..82d1099814 100644
--- a/railties/guides/source/active_support_core_extensions.textile
+++ b/railties/guides/source/active_support_core_extensions.textile
@@ -209,8 +209,7 @@ String.singleton_class # => #<Class:String>
String.new.singleton_class # => #<Class:#<String:0x17a1d1c>>
</ruby>
-WARNING: Fixnums and symbols have no singleton classes, +singleton_class+
-raises +TypeError+ on them. Moreover, the singleton classes of +nil+, +true+, and +false+, are +NilClass+, +TrueClass+, and +FalseClass+, respectively.
+WARNING: Fixnums and symbols have no singleton classes, +singleton_class+ 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/kernel/singleton_class.rb+.