Method: Phonelib::Phone#human_types

Defined in:
lib/phonelib/phone.rb

#human_typesArray

Returns human representation of all matched phone types

Returns:

  • (Array)

    Array of human readable valid phone types



69
70
71
# File 'lib/phonelib/phone.rb', line 69

def human_types
  types.map { |type| Core::TYPES_DESC[type] }
end