You can't use Ripper because Ripper requires a string. ParseTree works on
1.8.7.
-- Yehuda

On Sun, Jan 18, 2009 at 5:40 PM, Phlip <[email protected]> wrote:

>
> Yehuda Katz wrote:
>
> > action-args needs ParseTree. I wonder if the compiled Windows ParseTree
> > works with cygwin?
>
> 'How does it work internally? It seems to be using ParseTree voodoo.'
>
> I could do that with RubyNode in 1.8.6, or Ripper in 1.9, but that would
> leave
> Ruby 1.8.7 out in the cold! One could also grep the action class source for
> 'def
> ...'...
>
> So if take the action-args out, and parse args the old fashioned way (
>
>   post, foo, bar = params.values_at(:post, :foo, :bar)
>
> that's a _tiny_ bit dryer than classical params[:post] ), then I can have
> my way
> with a Merb app!
>
>
> >
>


-- 
Yehuda Katz
Developer | Engine Yard
(ph) 718.877.1325

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to