aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/string.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-12-27 15:49:29 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-12-27 15:49:29 -0800
commit19c48281a7bd94a42a80c1f8fc905e95820e8506 (patch)
tree143e16dd0351afdc4f1566cd52dd0fbbf31f533f /activesupport/lib/active_support/core_ext/string.rb
parent7c4fb93ac30b03c512ba163c5444eced18f12171 (diff)
downloadrails-19c48281a7bd94a42a80c1f8fc905e95820e8506.tar.gz
rails-19c48281a7bd94a42a80c1f8fc905e95820e8506.tar.bz2
rails-19c48281a7bd94a42a80c1f8fc905e95820e8506.zip
String#exclude? core extension: inverse of #include?
Diffstat (limited to 'activesupport/lib/active_support/core_ext/string.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/string.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/string.rb b/activesupport/lib/active_support/core_ext/string.rb
index 0365b6af1c..411ea0f016 100644
--- a/activesupport/lib/active_support/core_ext/string.rb
+++ b/activesupport/lib/active_support/core_ext/string.rb
@@ -7,4 +7,5 @@ require 'active_support/core_ext/string/access'
require 'active_support/core_ext/string/xchar'
require 'active_support/core_ext/string/behavior'
require 'active_support/core_ext/string/interpolation'
-require 'active_support/core_ext/string/output_safety' \ No newline at end of file
+require 'active_support/core_ext/string/output_safety'
+require 'active_support/core_ext/string/exclude'