From: "boris_stitnicky (Boris Stitnicky)" Date: 2013-10-22T12:39:24+09:00 Subject: [ruby-core:57959] [ruby-trunk - Bug #9041] Please add alias "starts_with?" to class String Issue #9041 has been updated by boris_stitnicky (Boris Stitnicky). @naruse: Thanks for responding and explaining. Yet, 3rd person forms #starts_with?, #ends_with?, #exists? etc. seem to be preferred in other computer langugages. @shevegen: As you probably know, ActiveSupport provides those aliases: require 'active_support/core_ext/string/starts_ends_with' ---------------------------------------- Bug #9041: Please add alias "starts_with?" to class String https://bugs.ruby-lang.org/issues/9041#change-42535 Author: shevegen (markus heiler) Status: Rejected Priority: Low Assignee: Category: Target version: ruby -v: all Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN Hi. We can do these: FileUtils.touch 'test' # => ["test"] File.exist? 'test' # => true File.exists? 'test' # => true 'test'.start_with? 't' # => true However, we can not use .starts_with? 'test'.starts_with? 't' NoMethodError: undefined method `starts_with?' for "test":String I propose that, for proper english, and consistency with the duality of File.exist? and File.exists? to also add alias starts_with? so that we can use proper english. The proper english way to query such a question would be: "Does the word abc start with an a?" and in short form as factual, affirmative statement: "abc starts with a." whereas this here would be not proper english: "abc start with a." -- http://bugs.ruby-lang.org/