+ 15

Digital Clock in Ruby!

Just did a fun project in Ruby. It shows current time as in a digital clock. Check it out ( https://code.sololearn.com/cLz0O4ohLe08/?ref=app ) Post your comments/suggestions on it. I want to make it better.

13th Jun 2017, 7:09 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
8 Antworten
+ 2
Hope it becomes code of the day!
13th Jun 2017, 7:38 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 2
Amazing 👌
13th Jun 2017, 5:35 PM
Utkαrsh
Utkαrsh - avatar
+ 2
Amazing👍❤👌
24th Jun 2017, 8:37 AM
Zerihun Habtemikael
Zerihun Habtemikael - avatar
+ 2
Anyone, do you have monospaced font in output? I don't, so I see output condensed and so I can not see result as a visual clock/watches.
25th Jun 2017, 11:04 AM
Andrew Harchenko (Tomsk)
Andrew Harchenko (Tomsk) - avatar
+ 1
That's awesome
13th Jun 2017, 7:37 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 1
It could be a nice idea to add time zones, ask user for their time zone, and display time accordingly
14th Jun 2017, 6:07 AM
Brian Montellano
Brian Montellano - avatar
0
@Krishna Teja Yeluripati Do you have monospaced font in playground console? O_o (I wonder if it's so... or may be you just suggest to run it outside of SL Playground?)
13th Jun 2017, 11:42 AM
Andrew Harchenko (Tomsk)
Andrew Harchenko (Tomsk) - avatar
0
Time Zone not fixed
13th Jun 2017, 11:46 PM
Tusiime Innocent Boub
Tusiime Innocent Boub - avatar