Method: Faker::Config.locale=

Defined in:
lib/faker.rb

.locale=(new_locale) ⇒ Object



21
22
23
# File 'lib/faker.rb', line 21

def locale=(new_locale)
  Thread.current[:faker_config_locale] = new_locale
end