On 10/13/2010 8:59 AM, Intransition wrote:
> Also, if you want args and opts,
> 
>     def initialize(*args)
>       opts = (Hash === args.last ? args.pop : {})
>       ...

And if you want a specific list of arguments followed by options:

def initialize(arg1, arg2, opts = {})
  ...
end


-Jeremy