class Faker::Address

def city(options: {})

Returns:
  • (String) -

Options Hash: (**with_state)
  • Whether (Boolean) -- to include the state name in the output.

Parameters:
  • options (Hash) --
def city(options: {})
  parse(options[:with_state] ? 'address.city_with_state' : 'address.city')
end