Sha256: 5990d62a49003fceb0e97bfbe46affa0f6b6d0af8484d1f67281deb4b89eedb5

Contents?: true

Size: 359 Bytes

Versions: 3

Compression:

Stored size: 359 Bytes

Contents

class IndexWidget
  include Widget

  def initialize
    @welcome_message = <<END_WELCOME
Welcome to Shoeshine.

Shoeshine is a set of UI widgets for use with the shoes toolkit.

Simply select a page on the left to see the examples.

Have fun,
Roy
END_WELCOME
  end

  def show(opt={})
    app.stack(opt) do
      app.para @welcome_message
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
royw-shoeshine-0.0.1 examples/index_widget.rb
royw-shoeshine-0.0.2 examples/index_widget.rb
royw-shoeshine-0.0.3 examples/index_widget.rb