We <3 Shoes so much we want to have our way with it.

  class Thang < Shoes
    url '/', :index
    def index
      rect 0, 0, 160, 25
    end
  end

  app = Thang.app
  app.visit '/'
  app.quit

We want to treat Shoes like an object. The above sample attempts to get Shoes to flash one page, and then turn itself off. But .visit blocks.

Shoes is great for apps that happen inside the .app{} block, but what about situations where you need to control Shoes from without?

--
  Phlip

Reply via email to