Class: DataMagic::Translation
- Inherits:
-
Object
- Object
- DataMagic::Translation
- Includes:
- DateTranslation, StandardTranslation
- Defined in:
- lib/data_magic/translation.rb
Instance Attribute Summary
Attributes included from StandardTranslation
Instance Method Summary collapse
-
#initialize(parent) ⇒ Translation
constructor
A new instance of Translation.
Methods included from DateTranslation
#date_between, #day_of_week, #day_of_week_abbr, #month, #month_abbr, #today, #tomorrow, #yesterday
Methods included from StandardTranslation
#catch_phrase, #cell_phone, #characters, #city, #color_hex, #color_name, #company_name, #country, #credit_card_number, #credit_card_type, #decimal, #domain_name, #email_address, #first_name, #full_name, #job_title, #last_name, #mask, #merge, #name_prefix, #name_suffix, #number, #paragraphs, #phone_number, #randomize, #secondary_address, #sentence, #sentences, #sequential, #state, #state_abbr, #street_address, #url, #user_name, #words, #zip_code
Constructor Details
#initialize(parent) ⇒ Translation
Returns a new instance of Translation.
11 12 13 |
# File 'lib/data_magic/translation.rb', line 11 def initialize(parent) @parent = parent end |