Skip to main content
Fix byte count & remove space
Source Link
August
  • 726
  • 3
  • 8

Ruby + Rack, 2119 bytes

run ->e{[418,{},[]]}

Must be saved as config.ru, and run with the rackup command.

Or if you prefer "pure" Ruby:

Rack::Handler::WEBrick.run ->e{[418,{},[]]}

4342 bytes + -rrack flag = 4948 bytes

Ruby + Rack, 21 bytes

run ->e{[418,{},[]]}

Must be saved as config.ru, and run with the rackup command.

Or if you prefer "pure" Ruby:

Rack::Handler::WEBrick.run ->e{[418,{},[]]}

43 bytes + -rrack flag = 49 bytes

Ruby + Rack, 19 bytes

run->e{[418,{},[]]}

Must be saved as config.ru, and run with the rackup command.

Or if you prefer "pure" Ruby:

Rack::Handler::WEBrick.run->e{[418,{},[]]}

42 bytes + -rrack flag = 48 bytes

Source Link
August
  • 726
  • 3
  • 8

Ruby + Rack, 21 bytes

run ->e{[418,{},[]]}

Must be saved as config.ru, and run with the rackup command.

Or if you prefer "pure" Ruby:

Rack::Handler::WEBrick.run ->e{[418,{},[]]}

43 bytes + -rrack flag = 49 bytes