Method: Faker::Config.default_locale=

Defined in:
lib/faker.rb

.default_locale=(value) ⇒ Object (writeonly)

Sets the attribute default_locale

Parameters:

  • value

    the value to set the attribute default_locale to.



17
18
19
# File 'lib/faker.rb', line 17

def default_locale=(value)
  @default_locale = value
end