Sha256: 8d2ad47191273015a3094da08288f7a6e8ff3f9406d1dc058435768b2efda255

Contents?: true

Size: 228 Bytes

Versions: 2

Compression:

Stored size: 228 Bytes

Contents

require_relative "../lib/nyara"
require "open-uri"
require "pry"

configure do
  # set :env, 'production'
  # set :workers, 2
end

get '/' do
  open 'http://baidu.com', &:read
  send_string 'hello world'
end

# GC.stress = true

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nyara-0.0.1.pre.5 tools/hello.rb
nyara-0.0.1.pre.4 tools/hello.rb