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
classiccms-0.5.7 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.5.6 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.5.5 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.5.2 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.5.1 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.5.0 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
activesupport-3.1.7 lib/active_support/core_ext/string/exclude.rb
classiccms-0.4.2 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.4.1 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.4.0 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.3.9 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
challah-0.6.2 vendor/bundle/gems/activesupport-3.2.2/lib/active_support/core_ext/string/exclude.rb
challah-0.6.2 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
sunrise-cms-0.3.3 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
dirty_history-0.6.2 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/string/exclude.rb
dirty_history-0.6.1 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/string/exclude.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
sunrise-cms-0.3.2 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.1 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb