Sunday, August 22, 2010

Another simple Shoes app

Here is yet another simple Shoes app.
# now.rb
#
Shoes.app :width=>160, :height=>24 do
  para "Today is #{Time.now.strftime("%m/%d/%Y")}"
end

Run it:
$shoes now.rb

No comments:

Post a Comment