Sha256: 6d969047d54d1593f034ffe97e5a2609096c608c49113bea8105b98f49d470b1
Contents?: true
Size: 221 Bytes
Versions: 7
Compression:
Stored size: 221 Bytes
Contents
require 'kontrol' class HelloWorld < Kontrol::Application def time Time.now.strftime "%H:%M:%S" end map do root '/' do text "<h1>Hello World at #{time}</h1>" end end end run HelloWorld.new
Version data entries
7 entries across 7 versions & 2 rubygems