Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

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.

Jump to Line
Something went wrong with that request. Please try again.