Module: RandomData
- Defined in:
- lib/random_data/version.rb,
lib/random_data/text.rb,
lib/random_data/dates.rb,
lib/random_data/names.rb,
lib/random_data/markov.rb,
lib/random_data/grammar.rb,
lib/random_data/numbers.rb,
lib/random_data/booleans.rb,
lib/random_data/locations.rb,
lib/random_data/contact_info.rb,
lib/random_data/array_randomizer.rb
Overview
Extends the Array class with a function used to randomly choose elements. Note that if you are using Rails, ActiveSupport recently was updated to include a similar function. This code checks for the presence of that method and does not try to replace it. They work the same though so no worries.
Defined Under Namespace
Modules: ArrayRandomizer, Booleans, ContactInfo, Dates, Grammar, Locations, Names, Numbers, Text Classes: MarkovGenerator
Constant Summary collapse
- VERSION =
:nodoc:
'1.6.0'