Method: Faker::Address.state

Defined in:
lib/faker/default/address.rb

.stateString

Produces the name of a state.

Examples:

Faker::Address.state #=> "California"


204
205
206
# File 'lib/faker/default/address.rb', line 204

def state
  fetch('address.state')
end