Method: Faker::Vehicle.car_options
- Defined in:
- lib/faker/default/vehicle.rb
.car_options ⇒ Array<String>
Produces a random list of car options.
207 208 209 |
# File 'lib/faker/default/vehicle.rb', line 207 def Array.new(rand(5...10)) { fetch('vehicle.car_options') } end |