Basic usage question follows:

#!/usr/bin/env open -a Shoes.app
class Examplish < Shoes
url "/", :index
url "/new", :new_window

def index
 header
 para link "make a new window", :click => "/new"
end

def new_window
 window do
   header
   para "a new window"
 end
end

def header
  para "header"
end

end
Shoes.app

In the above code the header method is not available inside of the
window block.  Is there a good way to make a method from the parent
window available on the child?

Thanks,
Josh

Reply via email to