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.7.5 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.7.4 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.7.3 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.7.2 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.7.1 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.7.0 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
activesupport-3.1.12 lib/active_support/core_ext/string/exclude.rb
activesupport-3.1.11 lib/active_support/core_ext/string/exclude.rb
activesupport-3.1.10 lib/active_support/core_ext/string/exclude.rb
activesupport-3.1.9 lib/active_support/core_ext/string/exclude.rb
classiccms-0.6.9 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
dirty_history-0.7.3 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/string/exclude.rb
dirty_history-0.7.2 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/string/exclude.rb
dirty_history-0.7.1 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/string/exclude.rb
dirty_history-0.7.0 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/string/exclude.rb
classiccms-0.6.8 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.6.7 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.6.6 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.6.5 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb
classiccms-0.6.4 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/string/exclude.rb