From: Hal Fulton Date: 2006-09-28T09:04:26+09:00 Subject: Re: String starts? and ends? methods Yukihiro Matsumoto wrote: > Hi, > > In message "Re: String starts? and ends? methods" > on Wed, 27 Sep 2006 23:05:44 +0900, Jonas Hartmann writes: > > |but what about puralization? > > As a convention, Ruby method names use plain verb with singular form, > with several exceptions, e.g. is_a? etc. So we use start_with? not > starts_with? > I think this is reasonable (or maybe I am just used to it). Those who want an English mnemonic can mentally insert the word "does": str.start_with?(foo) # Does str start with foo ? Hal