Rack ã£ã¦ãªã«ï¼ Rack 㯠Web ãµã¼ã㨠Ruby ããã°ã©ã ã Ruby ã§æ¸ããã Web ã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ã¨ã®éã«ãæå°éã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãæä¾ãã¾ãã http://rack.rubyforge.org/ Rack ã®ã¤ã³ã¹ãã¼ã« gem install rack Rack ã®ç°¡åãªå§ãæ¹ Rack ã使ãã«ã¯ãã¾ã call ãããã¢ããªã±ã¼ã·ã§ã³ãæ¸ãã¾ããcall ã¡ã½ãããå®ç¾©ããå¼æ°ã« env ãåãã¾ãã # app.rb require 'rack' class TinyCaller def call(env) [200, {'Content-Type' => 'text/html'}, ["Hello, World."]] end end ç¶ãã¦ãRack ã使ãããã® DSL ãã¡ã¤ã«ã¨ãªã .ru ãã¡ã¤ã«ãä½æãã¾ãã # tiny
{{#tags}}- {{label}}
{{/tags}}