Skip to content

jvollherbst/ruby-clock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ruby-Clock

Build a clock simulator in Ruby

  • Author: Colin Hart (@ColinTheRobot); adapted by Jason Seminara (@jasonseminara).
  • Description: A pseudo-clock that ticks off seconds forever.
  • Date: 2016-03-24

##Prompt Build a clock using only strings and loops.

  • Only use the Time class to initially set the clock to the current time.
  • This should print the current time out to the screen once every second, and print an alarm at the requested time
  • Time fragments must be zero-padded properly.

BONUS: figure out how to actually make an audible buzz or ding for the alarm.

About

Build a clock simulator in Ruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%