Sha256: 4be22c0be4e13c51a496d18adb39cd7df82bbe99fd49fe3fd9f670fa101b9c7e

Contents?: true

Size: 152 Bytes

Versions: 431

Compression:

Stored size: 152 Bytes

Contents

class String
  # Enable more predictable duck-typing on String-like classes. See <tt>Object#acts_like?</tt>.
  def acts_like_string?
    true
  end
end

Version data entries

431 entries across 382 versions & 40 rubygems

Version Path
activesupport-4.2.11.3 lib/active_support/core_ext/string/behavior.rb
activesupport-4.2.11.2 lib/active_support/core_ext/string/behavior.rb
motion-support-1.2.1 motion/core_ext/string/behavior.rb
motion-support-1.1.1 motion/core_ext/string/behavior.rb
cocoapods-dependency-html-0.0.2 vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/string/behavior.rb
cocoapods-dependency-html-0.0.1 vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/string/behavior.rb
activesupport-4.2.11.1 lib/active_support/core_ext/string/behavior.rb
activesupport-4.2.11 lib/active_support/core_ext/string/behavior.rb
motion-support-1.2.0 motion/core_ext/string/behavior.rb
activesupport-4.2.10 lib/active_support/core_ext/string/behavior.rb
activesupport-4.2.10.rc1 lib/active_support/core_ext/string/behavior.rb
activesupport-4.2.9 lib/active_support/core_ext/string/behavior.rb
activesupport-4.2.9.rc2 lib/active_support/core_ext/string/behavior.rb
activesupport-4.2.9.rc1 lib/active_support/core_ext/string/behavior.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/activesupport-4.2.8/lib/active_support/core_ext/string/behavior.rb
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/core_ext/string/behavior.rb
activesupport-4.2.8 lib/active_support/core_ext/string/behavior.rb
activesupport-4.2.8.rc1 lib/active_support/core_ext/string/behavior.rb
activesupport-3.2.22.5 lib/active_support/core_ext/string/behavior.rb
activesupport-3.2.22.4 lib/active_support/core_ext/string/behavior.rb