drat! The subject of my email should have been "never neverland"
On Mon, Nov 10, 2008 at 11:14 PM, Josh Cronemeyer <
[EMAIL PROTECTED]> wrote:
> Perhaps I am doing something wrong. My app spawns a window with a link in
> it, but I can't get the link to work. Here is some code that demonstrates
> my problem. Essentially you can never get to neverland in this application.
>
> #!/usr/bin/env open -a Shoes.app
>
> class Bummer < Shoes
> url "/", :index
> url "/cleveland", :cleveland
> url "/neverland", :neverland
>
> def index
> para link("go to cleveland", :click => "/cleveland")
> end
>
> def cleveland
> window :title => "cleveland" do
> para link("go to neverland", :click => "/neverland")
> end
> visit "/"
> end
>
> def neverland
> para "cherries, syrup, puppies"
> end
> end
>
> Shoes.app :title => "bummer"
>
>