Class: DataMagic::Translation

Inherits:
Object
  • Object
show all
Includes:
DateTranslation, StandardTranslation
Defined in:
lib/data_magic/translation.rb

Instance Attribute Summary

Attributes included from StandardTranslation

#parent

Instance Method Summary collapse

Methods included from DateTranslation

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

Methods included from StandardTranslation

#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, #sequential, #state, #state_abbr, #street_address, #title, #url, #user_name, #words, #zip_code

Constructor Details

#initialize(parent) ⇒ Translation

Returns a new instance of Translation.



9
10
11
# File 'lib/data_magic/translation.rb', line 9

def initialize(parent)
  @parent = parent
end