aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/class/subclasses.rb
diff options
context:
space:
mode:
authorclaudiob <claudiob@gmail.com>2012-12-04 22:11:54 -0800
committerclaudiob <claudiob@gmail.com>2012-12-04 22:11:54 -0800
commit019df9887519701b321c668c1d27d5c0c26fee7a (patch)
treeac6b4decd50097a5b634720b56f6396146574016 /activesupport/lib/active_support/core_ext/class/subclasses.rb
parent129eac024382c7fbdad2007e86cf25778d5f6787 (diff)
downloadrails-019df9887519701b321c668c1d27d5c0c26fee7a.tar.gz
rails-019df9887519701b321c668c1d27d5c0c26fee7a.tar.bz2
rails-019df9887519701b321c668c1d27d5c0c26fee7a.zip
Replace comments' non-breaking spaces with spaces
Sometimes, on Mac OS X, programmers accidentally press Option+Space rather than just Space and don’t see the difference. The problem is that Option+Space writes a non-breaking space (0XA0) rather than a normal space (0x20). This commit removes all the non-breaking spaces inadvertently introduced in the comments of the code.
Diffstat (limited to 'activesupport/lib/active_support/core_ext/class/subclasses.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/class/subclasses.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/class/subclasses.rb b/activesupport/lib/active_support/core_ext/class/subclasses.rb
index c2e0ebb3d4..9a2dc6e7c5 100644
--- a/activesupport/lib/active_support/core_ext/class/subclasses.rb
+++ b/activesupport/lib/active_support/core_ext/class/subclasses.rb
@@ -31,7 +31,7 @@ class Class
# class Bar < Foo; end
# class Baz < Foo; end
#
- # Foo.subclasses # => [Baz, Bar]
+ # Foo.subclasses # => [Baz, Bar]
def subclasses
subclasses, chain = [], descendants
chain.each do |k|