From: "Matthias Wächter" Date: 2013-07-01T04:59:58+09:00 Subject: Re: variable names not allowed "?" and "!" but method name does - why? This is a multi-part message in MIME format. --------------070400030500030508050801 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Am 30.06.2013 21:29, schrieb Love U Ruby: > We can write a method name as foo! or foo?; but not the same with > variable names. Like > > foo? = 2 > # ~> -:1: syntax error, unexpected '=' > # ~> foo? = 2 > > So why such design? You are just using too few of them. See attached script, it works! ;) - Matthias --------------070400030500030508050801 Content-Type: application/x-ruby; name="exclam.rb" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="exclam.rb" IyEvdXNyL2Jpbi9lbnYgcnVieQojIC0qLSBlbmNvZGluZzp1dGYtOCAtKi0KYeKAvD01CnAg YeKAvApi4oGHPTgKcCBi4oGHCmPigYk9ZmFsc2UKcCBj4oGJCg== --------------070400030500030508050801--