Skip to content
Browse files

Guides: AS Core Extentions, fix warning message to display correctly.

  • Loading branch information...
1 parent 9b7540b commit 94a7964a89efcd1b66ade39759a4cf8cb8c92266 @rohit rohit committed Jun 21, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 railties/guides/source/active_support_core_extensions.textile
View
3 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+.

0 comments on commit 94a7964

Please sign in to comment.
Something went wrong with that request. Please try again.