Method: FFakerTW::Product#model

Defined in:
lib/ffakerTW/product.rb

#modelObject



41
42
43
44
45
# File 'lib/ffakerTW/product.rb', line 41

def model
  return "#{fetch_sample(LETTERS).upcase}#{rand(90)}" if rand(0..1).zero? # N90

  "#{letters(1..rand(1..2))}-#{rand(9900)}" # N-9400
end