Method: Faker::Commerce.color
- Defined in:
- lib/faker/default/commerce.rb
.color ⇒ String
Produces a random color.
15 16 17 |
# File 'lib/faker/default/commerce.rb', line 15 def color fetch('color.name') end |
Produces a random color.
15 16 17 |
# File 'lib/faker/default/commerce.rb', line 15 def color fetch('color.name') end |