Class Rantly
In: lib/rantly.rb
lib/rantly/generator.rb
lib/rantly/data.rb
Parent: Object

Methods

array   boolean   branch   call   choose   classify   default_size   dict   each   each   float   freq   gen   generate   guard   integer   literal   map   map   new   positive_integer   range   reset   singleton   size   sized   string   value   value  

Included Modules

Rantly::Data

Classes and Modules

Module Rantly::Chars
Module Rantly::Check
Module Rantly::Data
Module Rantly::Silly
Class Rantly::GuardFailure
Class Rantly::Property
Class Rantly::TooManyTries

Constants

INTEGER_MAX = (2**(0.size * 8 - 2) - 1) / 2   wanna avoid going into Bignum when calling range with these.
INTEGER_MIN = -(INTEGER_MAX)

Attributes

classifiers  [RW] 
default_size  [W] 

Public Class methods

Public Instance methods

limit attempts to 10 times of how many things we want to generate

[Validate]