Class: DataBuilder::Generation

Inherits:
Object
  • Object
show all
Includes:
DateGeneration, StandardGeneration
Defined in:
lib/data_builder/generation.rb

Instance Attribute Summary

Attributes included from StandardGeneration

#parent

Instance Method Summary collapse

Methods included from StandardGeneration

#catch_phrase, #cell_phone, #characters, #city, #company_name, #country, #credit_card_number, #credit_card_type, #domain_name, #email_address, #first_name, #full_name, #last_name, #mask, #name_prefix, #name_suffix, #paragraphs, #phone_number, #randomize, #secondary_address, #sentence, #sentences, #sequence, #state, #state_abbr, #street_address, #title, #url, #user_name, #words, #zip_code

Methods included from DateGeneration

#day_of_week, #day_of_week_abbr, #month, #month_abbr, #today, #tomorrow, #yesterday

Constructor Details

#initialize(parent) ⇒ Generation

Returns a new instance of Generation.



9
10
11
# File 'lib/data_builder/generation.rb', line 9

def initialize(parent)
  @parent = parent
end