Method: Phonelib::Phone#type

Defined in:
lib/phonelib/phone.rb

#typeSymbol

Returns first phone type that matched

Returns:

  • (Symbol)

    valid phone type



77
78
79
# File 'lib/phonelib/phone.rb', line 77

def type
  types.first
end