Sha256: 382a043f1f153ed5a179d4e1ec5cd93136d7165f47c554df5069e14ba2e5c493

Contents?: true

Size: 175 Bytes

Versions: 152

Compression:

Stored size: 175 Bytes

Contents

class String
  # The inverse of <tt>String#include?</tt>. Returns true if the string does not include the other string.
  def exclude?(string)
    !include?(string)
  end
end

Version data entries

152 entries across 139 versions & 7 rubygems

Version Path
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
rails-uploader-0.0.4 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
dirty_history-0.6.0 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/string/exclude.rb
activesupport-3.1.6 lib/active_support/core_ext/string/exclude.rb
classiccms-0.3.8 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
challah-0.6.1 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/exclude.rb
challah-0.6.1 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
challah-0.6.1 vendor/bundle/gems/activesupport-3.2.2/lib/active_support/core_ext/string/exclude.rb
classiccms-0.3.7 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.3.6 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.3.5 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.3.4 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.3.3 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.3.2 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.3.1 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
dirty_history-0.5.4 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/string/exclude.rb
activesupport-3.1.5 lib/active_support/core_ext/string/exclude.rb
classiccms-0.3.0 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb