Class: Faker::Config
- Inherits:
-
Object
- Object
- Faker::Config
- Defined in:
- lib/faker.rb
Class Attribute Summary collapse
Class Method Summary collapse
Class Attribute Details
.locale ⇒ Object
26 27 28 |
# File 'lib/faker.rb', line 26 def locale @locale || I18n.locale end |
.random ⇒ Object
34 35 36 |
# File 'lib/faker.rb', line 34 def random @random || Random::DEFAULT end |
Class Method Details
.own_locale ⇒ Object
30 31 32 |
# File 'lib/faker.rb', line 30 def own_locale @locale end |