--1926193751-1102266315-1246200416954
Content-Type: MULTIPART/MIXED; BOUNDARY="1926193751-1102266315-1246200416=:4954"

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--1926193751-1102266315-1246200416954
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT

Hi --

On Sun, 28 Jun 2009, Rick DeNatale wrote:

> On Sun, Jun 28, 2009 at 10:18 AM, David A. Black<dblack / rubypal.com> wrote:
>> At the risk of someone saying that I've made it too cryptic, it could
>> be one line shorter:
>>
>>  ¨Âïôèéîç  âêåãô®îå>>  ¨Âåæ îáíå¨öáìõå  ïôèéîç>>  ¨Âîáíå  áìõå õîìåóó öáìõÎïôèéî>>  ¨Âîä
>>
>
> Actually the second line IS necessary
>
> Nothing  bject.new
> def name(value  othing)
>   @name  alue unless value Nothing
> end
>
> name 42 # 42
> name # nil

Whoops -- right you are. Rewind.

(At least you didn't say it was cryptic :-)


David

-- 
David A. Black / Ruby Power and Light, LLC
Ruby/Rails consulting & training: http://www.rubypal.com
Now available: The Well-Grounded Rubyist (http://manning.com/black2)
"Ruby 1.9: What You Need To Know" Envycasts with David A. Black
http://www.envycasts.com
--1926193751-1102266315-1246200416954--
--1926193751-1102266315-1246200416954--