Method: Faker::Config.locale=

Defined in:
lib/faker.rb

.locale=(new_locale) ⇒ Object



19
20
21
# File 'lib/faker.rb', line 19

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