Sean,

I might entertain a patch for that syntax. Could you give a real  
example for where it is useful, though? The contrived example makes  
it hard to see where the value actually lies.

- Jamis

On Jun 11, 2007, at 7:53 PM, Sean wrote:

>
> Hi all,
>
> I'd like to define a task like the one below where the value :bar in
> the extra information hash can be one of a set of values (in this case
> "abc" or "def"). For example:
>
> task :foo, :roles => :app, :only => { :bar => [ "abc", "def" ] } do
>   ...
> end
>
> The above approach, however, always returns false. Is there a
> straightforward way of getting this functionality?
>
> Thanks,
> Sean
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to