Skip to content
Browse files

Typo Fix[ci skip]

  • Loading branch information...
1 parent a4d4af4 commit cada218f539265c6c44002833dc41b36be7738d3 @raysrashmi raysrashmi committed Aug 14, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 activesupport/lib/active_support/core_ext/string/filters.rb
View
6 activesupport/lib/active_support/core_ext/string/filters.rb
@@ -20,12 +20,12 @@ def squish!
self
end
- # Returns a new string with all occurances of the pattern removed. Short-hand for String#gsub(pattern, '').
+ # Returns a new string with all occurrences of the pattern removed. Short-hand for String#gsub(pattern, '').
def remove(pattern)
- gsub pattern, ''
+ gsub pattern, ''
end
- # Alters the string by removing all occurances of the pattern. Short-hand for String#gsub!(pattern, '').
+ # Alters the string by removing all occurrences of the pattern. Short-hand for String#gsub!(pattern, '').
def remove!(pattern)
gsub! pattern, ''
end

0 comments on commit cada218

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