From: Robert Klemme Date: 2013-06-08T23:20:39+09:00 Subject: Re: How do I write a method, which returns whether the letters in a word occur in alphabetical order --20cf300fb23d60b59c04dea540e3 Content-Type: text/plain; charset=ISO-8859-1 On Sat, Jun 8, 2013 at 4:31 AM, Tario C. wrote: > How do I write a method, which returns whether the letters in a word > occur in alphabetical order? > You start by thinking of a good name for the method and the argument. Once you have the name you write "def name(arg) end". Now you think of an algorithm to solve your problem. Write it between ")" and "end". Do some testing. Done. robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ --20cf300fb23d60b59c04dea540e3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable


--20cf300fb23d60b59c04dea540e3--