Here's the program(1.rb):
这是程序(1.rb):
require 'rack'
my_rack = lambda { |env| [200, {}, ["Hello. The time is: #{Time.now}"]] }
handler = Rack::Handler::WEBrick
handler.run(my_rack, :PORT => 12_500)
requiHere's the program(1.rb):
这是程序(1.rb):
require 'rack'
my_rack = lambda { |env| [200, {}, ["Hello. The time is: #{Time.now}"]] }
handler = Rack::Handler::WEBrick
handler.run(my_rack, :PORT => 12_500)
requi