class Faker::Config

Attributes

locale[W]
random[W]

Public Class Methods

locale() click to toggle source
# File lib/faker.rb, line 27
def locale
  @locale || I18n.locale
end
own_locale() click to toggle source
# File lib/faker.rb, line 31
def own_locale
  @locale
end
random() click to toggle source
# File lib/faker.rb, line 35
def random
  @random || Random::DEFAULT
end