Class: Faker::Config

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

Class Attribute Summary (collapse)

Class Attribute Details

+ (Object) locale



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

def locale
  @locale || I18n.locale.downcase
end