Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/random.cr
Original file line number Diff line number Diff line change
@@ -4,9 +4,8 @@ require "random/pcg32"
# `Random` provides an interface for random values generation, using a pseudo random number generator (PRNG).
#
# ```
# Random.new_seed # => 112705036
# Random.rand # => 0.167595
# Random.rand(5) # => 2
# Random.rand # => 0.167595
# Random.rand(5) # => 2
# ```
#
# The above methods delegate to a `Random` instance.

0 comments on commit 4532389

Please sign in to comment.