Hi --

On Thu, 5 May 2005, Joe Van Dyk wrote:

> Can someone fill me in on what's going on here?
>
> It looks like the code reads something like:
>
>  def opa(s)
>    'z'
>  end
>
> So,
>  opa('kct')
> should return 'z'.
>
> But I have no idea what
>  opa = opa('kct')
> is trying to do.

It's trying to set a local variable called opa to the result of
calling (the method) opa with arg 'kct'.


David

-- 
David A. Black
dblack / wobblini.net