On Tue, Aug 18, 2009 at 10:37 PM, Intransition<transfire / gmail.com> wrote:
> Messing with optional argument check for the umpteenth time, eg.
>
> def meth(a=Exception)
>  if a != Exception
>    ...
>  else
>   ...
>  end
> end

def meth(a=(defaults=true;Exception))
  if !defaults
    ...
  else
    ...
  end
end

- charlie