From aecad3d399d6dc517be7a7f87f45668824f275e8 Mon Sep 17 00:00:00 2001 From: Giancarlo Zabaleta Date: Wed, 2 Oct 2019 21:57:13 +0000 Subject: [PATCH] Done. --- app/application.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/app/application.rb b/app/application.rb index e69de29bb..38a0261db 100644 --- a/app/application.rb +++ b/app/application.rb @@ -0,0 +1,17 @@ +class Application + + def call(env) + resp = Rack::Response.new + + t = Time.now + if t.hour < 12 + resp.write "Good Morning!" + else + resp.write "Good Afternoon!" + end + + resp.finish + end + + +end \ No newline at end of file