More docs
This commit is contained in:
parent
899a1dd399
commit
e11976f9a2
1 changed files with 21 additions and 14 deletions
|
@ -31,10 +31,17 @@ def Signal.[] s
|
|||
end
|
||||
end
|
||||
|
||||
# Description
|
||||
# ===========
|
||||
#
|
||||
# Counts retries ot something. If the retries are to often in a short time,
|
||||
# you shouldn't retry again.
|
||||
#
|
||||
# Example:
|
||||
# Examples
|
||||
# ========
|
||||
#
|
||||
# Strings aren't Integers and 2*"Text" will raise TypeError.
|
||||
#
|
||||
# retries = Retry.new 5, 1
|
||||
# begin
|
||||
# array_of_ints_and_some_strings.each do |i|
|
||||
|
|
Loading…
Reference in a new issue