11. Windows Form は?
require 'System'
require 'System.Windows.Forms'
include System::Windows
include System::Windows::Forms
class TestForm < Form
def initialize
self.Text = "Hello World Form"
end
end
Application.run TestForm.new
空っぽのウィンドウを出してみる
全部手で入力するのはムリダナ ( ・ × ・ )
17. ルート
get '/' do
.. 何か見せる ..
end
post '/' do
.. 何か生成する ..
end
put '/' do
.. 何か更新する ..
end
delete '/' do
.. 何か削除する ..
end http://www.sinatrarb.com/intro-jp.html