Method: Faker::Gender.short_binary_type

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

.short_binary_typeString

Produces either ‘f’ or ‘m’.

Examples:

Faker::Gender.short_binary_type #=> "f"

Returns:

  • (String)

Available since:

  • 2.13.0



41
42
43
# File 'lib/faker/default/gender.rb', line 41

def short_binary_type
  fetch('gender.short_binary_types')
end