Module: RandomDataDespegar

Defined in:
lib/random_data_despegar/version.rb,
lib/random_data_despegar/text.rb,
lib/random_data_despegar/dates.rb,
lib/random_data_despegar/names.rb,
lib/random_data_despegar/markov.rb,
lib/random_data_despegar/grammar.rb,
lib/random_data_despegar/numbers.rb,
lib/random_data_despegar/booleans.rb,
lib/random_data_despegar/locations.rb,
lib/random_data_despegar/contact_info.rb,
lib/random_data_despegar/id_generator.rb,
lib/random_data_despegar/invoice_data.rb,
lib/random_data_despegar/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, IdGenerator, InvoiceData, Locations, Names, Numbers, Text Classes: MarkovGenerator

Constant Summary collapse

VERSION =

:nodoc:

'2.1'