aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validator.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 /activemodel/lib/active_model/validator.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 'activemodel/lib/active_model/validator.rb')
-rw-r--r--activemodel/lib/active_model/validator.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/validator.rb b/activemodel/lib/active_model/validator.rb
index 629b157fed..ff3dfa01c8 100644
--- a/activemodel/lib/active_model/validator.rb
+++ b/activemodel/lib/active_model/validator.rb
@@ -109,8 +109,8 @@ module ActiveModel
# Return the kind for this validator.
#
- # PresenceValidator.new.kind # => :presence
- # UniquenessValidator.new.kind # => :uniqueness 
+ # PresenceValidator.new.kind # => :presence
+ # UniquenessValidator.new.kind # => :uniqueness
def kind
self.class.kind
end