Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add todos

  • Loading branch information...
commit 7d9bb11a9eb0d766252f0b969ded9f0513a6764b 1 parent aa39e71
@jordansissel authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 lib/stud/try.rb
View
7 lib/stud/try.rb
@@ -1,3 +1,10 @@
+# TODO(sissel): Make 'try' a class?
+# Would be useful to swap out the 'failed' message code (instead of puts, use
+# a logger).
+# Would be useful to swap out the 'sleep' call; instead of sleeping, one
+# might want to block until some event occurs (or not sleep at all for
+# tests).
+#
module Stud
# Public: try a block of code until either it succeeds or we give up.
#
Please sign in to comment.
Something went wrong with that request. Please try again.