Class: Faker::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/faker.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.localeObject



24
25
26
# File 'lib/faker.rb', line 24

def locale
  @locale || I18n.locale
end

Class Method Details

.own_localeObject



28
29
30
# File 'lib/faker.rb', line 28

def own_locale
  @locale
end