class Soba::CLI

Public Instance Methods

run() click to toggle source
# File lib/soba/cli.rb, line 5
def run
  host, port = ARGV
  app = lambda {|env| [200, {'Host' => 'securet'}, "nihaoooo"]}
  Soba::Server.new(app, host, port).run
end