Skip to content

ig3io/randr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Randr

Simple wrapper for random number generation in Ruby. Toy project that works around the info provided by this StackOverflow answer.

Installation

Add this line to your application's Gemfile:

gem 'randr'

And then execute:

$ bundle

Or install it yourself as:

$ gem install randr

Usage

require "randr"

gen = Randr::Generator.new

nums = gen.times(3).from(0).to(11)
# => [0, 1, 10]

About

Simple (dummy) wrapper for the Random class

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages