Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 32 lines (18 sloc) 0.653 kb

! shoes


Sample38.rb has #! shoes on its first line. The shell will see that the program file has a #! line and pass it to Shoes.

#! shoes
# sample38.rb

Shoes.app :width => 150, :height => 50 do
  para strong('Hello World!'), :stroke => red
end

sample38.png

sample38.png

Write code with SciTE and push F5, then kick up Shoes!

And next. Sample38-1.rb is a Ruby program, not Shoes app, but it'll launch the Shoes app.

# sample38-1.rb

%x(ruby sample38.rb)

Policeman

The sample38.rb and sample38-1.rb worked well with Shoes-0.r1263.

Something went wrong with that request. Please try again.