Sha256: b093ee691118bfa4b1e73e3c04564c231076c49f38228cb56c58fdd7de4d0685

Contents?: true

Size: 153 Bytes

Versions: 81

Compression:

Stored size: 153 Bytes

Contents

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

Version data entries

81 entries across 78 versions & 10 rubygems

Version Path
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/activesupport-5.0.7.1/lib/active_support/core_ext/string/behavior.rb
activesupport-5.1.7 lib/active_support/core_ext/string/behavior.rb
activesupport-5.1.7.rc1 lib/active_support/core_ext/string/behavior.rb
activesupport-5.1.6.2 lib/active_support/core_ext/string/behavior.rb
activesupport-5.0.7.2 lib/active_support/core_ext/string/behavior.rb
activesupport-5.1.6.1 lib/active_support/core_ext/string/behavior.rb
activesupport-5.0.7.1 lib/active_support/core_ext/string/behavior.rb
activesupport-5.1.6 lib/active_support/core_ext/string/behavior.rb
activesupport-5.0.7 lib/active_support/core_ext/string/behavior.rb
tdiary-5.0.8 vendor/bundle/gems/activesupport-5.1.5/lib/active_support/core_ext/string/behavior.rb
activesupport-5.1.5 lib/active_support/core_ext/string/behavior.rb
activesupport-5.1.5.rc1 lib/active_support/core_ext/string/behavior.rb
pract6-0.1.0 .gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/behavior.rb
activesupport-5.1.4 lib/active_support/core_ext/string/behavior.rb
activesupport-5.0.6 lib/active_support/core_ext/string/behavior.rb
activesupport-5.1.4.rc1 lib/active_support/core_ext/string/behavior.rb
activesupport-5.0.6.rc1 lib/active_support/core_ext/string/behavior.rb
activesupport-5.1.3 lib/active_support/core_ext/string/behavior.rb
activesupport-5.1.3.rc3 lib/active_support/core_ext/string/behavior.rb
activesupport-5.0.5 lib/active_support/core_ext/string/behavior.rb