SYMBOL INDEX (332 symbols across 28 files) FILE: lib/phone.rb type Phoner (line 15) | module Phoner class Phone (line 16) | class Phone type ClassAttributes (line 17) | module ClassAttributes type ClassAttributeAccessors (line 25) | module ClassAttributeAccessors function default_country_code (line 26) | def default_country_code function default_area_code (line 30) | def default_area_code function named_formats (line 34) | def named_formats function n1_length (line 38) | def n1_length method valid? (line 72) | def self.valid?(string, options = {}) method parse (line 83) | def self.parse(string, options={}) method extract_extension (line 105) | def self.extract_extension(string) method normalize (line 116) | def self.normalize(string_with_number) method split_to_parts (line 124) | def self.split_to_parts(string, options = {}) method detect_country (line 170) | def self.detect_country(string) method detect_format (line 182) | def self.detect_format(string_with_number, country) method formats (line 196) | def self.formats(country) method initialize (line 223) | def initialize(*args) method area_code_long (line 246) | def area_code_long method number1 (line 251) | def number1 method number2 (line 256) | def number2 method format (line 275) | def format(fmt) method to_s (line 285) | def to_s method has_default_country_code? (line 290) | def has_default_country_code? method has_default_area_code? (line 295) | def has_default_area_code? method == (line 300) | def ==(other) method args_to_hash (line 316) | def args_to_hash(args) method format_number (line 325) | def format_number(fmt) FILE: lib/phone/country.rb type Phoner (line 3) | module Phoner class Country (line 4) | class Country < Struct.new(:name, :country_code, :char_2_code, :char_3... type All (line 5) | module All method all (line 10) | def all method load (line 14) | def self.load method find_by_country_code (line 35) | def self.find_by_country_code(code) method find_by_country_isocode (line 39) | def self.find_by_country_isocode(isocode) method to_s (line 45) | def to_s method country_code_regexp (line 49) | def country_code_regexp FILE: lib/phone/errors.rb type Phoner (line 1) | module Phoner class PhoneError (line 2) | class PhoneError < RuntimeError;end class BlankNumberError (line 3) | class BlankNumberError < PhoneError;end class AreaCodeError (line 4) | class AreaCodeError < PhoneError;end class CountryCodeError (line 5) | class CountryCodeError < PhoneError;end FILE: lib/phone/version.rb type Phone (line 1) | module Phone FILE: test/countries/au_test.rb class AUTest (line 7) | class AUTest < Minitest::Test method test_central_east (line 17) | def test_central_east method test_south_east (line 22) | def test_south_east method test_mobile (line 27) | def test_mobile method test_personal (line 32) | def test_personal method test_north_east (line 37) | def test_north_east method test_central (line 42) | def test_central FILE: test/countries/ba_test.rb class BATest (line 4) | class BATest < Minitest::Test method test_local (line 6) | def test_local FILE: test/countries/be_test.rb class BETest (line 5) | class BETest < Minitest::Test method test_brussels (line 9) | def test_brussels method test_antwerpen (line 13) | def test_antwerpen method test_liege (line 17) | def test_liege method test_gent (line 21) | def test_gent method test_wavre (line 27) | def test_wavre method test_hasselt (line 31) | def test_hasselt method test_tongeren (line 35) | def test_tongeren method test_diest (line 39) | def test_diest method test_waremme (line 46) | def test_waremme method test_brugge (line 51) | def test_brugge method test_roeselare (line 55) | def test_roeselare method test_oostende (line 66) | def test_oostende method test_chimay (line 71) | def test_chimay method test_nivelles (line 79) | def test_nivelles method test_specialty (line 86) | def test_specialty method test_namur (line 92) | def test_namur method test_toll_free (line 104) | def test_toll_free method test_premium_900 (line 109) | def test_premium_900 method test_premium_901 (line 113) | def test_premium_901 FILE: test/countries/de_test.rb class DETest (line 4) | class DETest < Minitest::Test method test_local (line 6) | def test_local method test_mobile (line 10) | def test_mobile FILE: test/countries/es_test.rb class ESTest (line 10) | class ESTest < Minitest::Test method test_validates (line 12) | def test_validates FILE: test/countries/fr_test.rb class FRTest (line 4) | class FRTest < Minitest::Test method test_local (line 6) | def test_local method test_mobile (line 10) | def test_mobile method test_mobile_07 (line 14) | def test_mobile_07 method test_voip (line 18) | def test_voip FILE: test/countries/gb_test.rb class GBTest (line 35) | class GBTest < Minitest::Test method test_london (line 39) | def test_london method test_northern_ireland (line 44) | def test_northern_ireland method test_cardiff (line 49) | def test_cardiff method test_leeds (line 54) | def test_leeds method test_sheffield (line 59) | def test_sheffield method test_nottingham (line 64) | def test_nottingham method test_leicester (line 69) | def test_leicester method test_bristol (line 74) | def test_bristol method test_reading (line 79) | def test_reading method test_birmingham (line 84) | def test_birmingham method test_edinburgh (line 89) | def test_edinburgh method test_glasgow (line 94) | def test_glasgow method test_liverpool (line 99) | def test_liverpool method test_manchester (line 104) | def test_manchester method test_tyneside (line 110) | def test_tyneside method test_bournemouth (line 117) | def test_bournemouth method test_falmouth (line 122) | def test_falmouth method test_alton (line 127) | def test_alton method test_lynton (line 132) | def test_lynton method test_newquay (line 137) | def test_newquay method test_rothesay (line 142) | def test_rothesay method test_colonsay (line 147) | def test_colonsay method test_no_area (line 152) | def test_no_area method test_personal_numbering (line 157) | def test_personal_numbering method test_mobile (line 162) | def test_mobile method test_mobile_2 (line 166) | def test_mobile_2 method test_freephone (line 171) | def test_freephone method test_freephone_2 (line 175) | def test_freephone_2 method test_premium (line 180) | def test_premium method test_premium2 (line 184) | def test_premium2 method test_wide (line 189) | def test_wide method test_wide_2 (line 193) | def test_wide_2 FILE: test/countries/hr_test.rb class HRTest (line 4) | class HRTest < Minitest::Test method test_zagreb (line 6) | def test_zagreb method test_mobile (line 10) | def test_mobile method test_long_without_special_characters (line 14) | def test_long_without_special_characters method test_long_with_special_characters (line 18) | def test_long_with_special_characters method test_long_with_leading_zeros (line 22) | def test_long_with_leading_zeros method test_zagreb_long_with_leading_zeros (line 26) | def test_zagreb_long_with_leading_zeros method test_short_without_special_characters_with_country (line 30) | def test_short_without_special_characters_with_country method test_zagreb_short_without_special_characters_with_country (line 35) | def test_zagreb_short_without_special_characters_with_country method test_long_with_zero_in_brackets (line 40) | def test_long_with_zero_in_brackets method test_has_default_country_code (line 45) | def test_has_default_country_code method test_has_default_area_code (line 52) | def test_has_default_area_code method test_validates (line 60) | def test_validates FILE: test/countries/hu_test.rb class HUTest (line 4) | class HUTest < Minitest::Test method test_mobile (line 6) | def test_mobile FILE: test/countries/ie_test.rb class IETest (line 4) | class IETest < Minitest::Test method test_short_cork_number (line 6) | def test_short_cork_number method test_short_cork_number_2 (line 10) | def test_short_cork_number_2 method test_short_wrong_area_code (line 14) | def test_short_wrong_area_code FILE: test/countries/me_test.rb class METest (line 4) | class METest < Minitest::Test method test_mobile (line 6) | def test_mobile method test_local (line 10) | def test_local FILE: test/countries/nl_test.rb class NETest (line 4) | class NETest < Minitest::Test method test_mobile (line 7) | def test_mobile method test_pagers (line 12) | def test_pagers method test_internet_access (line 17) | def test_internet_access method test_toll_free (line 22) | def test_toll_free method test_location_independent_84 (line 27) | def test_location_independent_84 method test_location_independent_85 (line 32) | def test_location_independent_85 method test_location_independent_87 (line 37) | def test_location_independent_87 method test_location_independent_88 (line 42) | def test_location_independent_88 method test_location_independent_878 (line 47) | def test_location_independent_878 method test_premium_900 (line 52) | def test_premium_900 method test_premium_906 (line 57) | def test_premium_906 method test_rotterdam (line 70) | def test_rotterdam method test_tilburg (line 74) | def test_tilburg method test_amsterdam (line 80) | def test_amsterdam method test_utrecht (line 88) | def test_utrecht method test_amersfoort (line 92) | def test_amersfoort method test_heerlen (line 102) | def test_heerlen method test_groningen (line 108) | def test_groningen method test_leeuwarden (line 114) | def test_leeuwarden method test_the_hague (line 120) | def test_the_hague method test_leiden (line 124) | def test_leiden method test_zaandam (line 131) | def test_zaandam method test_zoetermeer (line 138) | def test_zoetermeer method test_zierikzee (line 145) | def test_zierikzee method test_goes (line 149) | def test_goes method test_sluis (line 155) | def test_sluis method test_gilze (line 161) | def test_gilze method test_bergen (line 166) | def test_bergen method test_alphen (line 175) | def test_alphen method test_ridderkerk (line 181) | def test_ridderkerk method test_gouda (line 186) | def test_gouda method test_texel (line 195) | def test_texel method test_shagen (line 200) | def test_shagen method test_hoorn (line 207) | def test_hoorn method test_beverwijk (line 212) | def test_beverwijk method test_weesp (line 219) | def test_weesp method test_dieren (line 226) | def test_dieren method test_terborg (line 231) | def test_terborg method test_lelystad (line 239) | def test_lelystad method test_harderwijk (line 245) | def test_harderwijk method test_tiel (line 251) | def test_tiel method test_boxtel (line 260) | def test_boxtel method test_roermond (line 269) | def test_roermond method test_bemmel (line 275) | def test_bemmel method test_druten (line 281) | def test_druten method test_helmond (line 287) | def test_helmond method test_weert (line 292) | def test_weert method test_veenwouden (line 299) | def test_veenwouden method test_sneek (line 306) | def test_sneek method test_steenwijk (line 315) | def test_steenwijk method tst_coevorden (line 321) | def tst_coevorden method test_oldenzaal (line 330) | def test_oldenzaal method test_neede (line 336) | def test_neede method test_wolvega (line 344) | def test_wolvega method test_deventer (line 351) | def test_deventer method test_lochem (line 357) | def test_lochem method test_emmen (line 365) | def test_emmen method test_beilen (line 370) | def test_beilen method test_stadskanaal (line 379) | def test_stadskanaal FILE: test/countries/nz_test.rb class NZTest (line 4) | class NZTest < Minitest::Test method test_local (line 5) | def test_local FILE: test/countries/pt_test.rb class PTTest (line 7) | class PTTest < Minitest::Test method test_lisbon (line 18) | def test_lisbon method test_oporto (line 22) | def test_oporto method test_mealhada (line 28) | def test_mealhada method test_viseu (line 33) | def test_viseu method test_angra (line 36) | def test_angra method test_pontadelgada (line 41) | def test_pontadelgada method test_707 (line 53) | def test_707 method test_800 (line 61) | def test_800 method test_808 (line 66) | def test_808 method test_809 (line 71) | def test_809 method test_vodafone (line 80) | def test_vodafone method test_optimus (line 84) | def test_optimus method test_tmn (line 88) | def test_tmn method test_tmn921 (line 94) | def test_tmn921 method test_tmn923 (line 98) | def test_tmn923 method test_phoneix (line 102) | def test_phoneix method test_zonmobile (line 106) | def test_zonmobile method test_validates (line 110) | def test_validates FILE: test/countries/rs_test.rb class RSTest (line 4) | class RSTest < Minitest::Test method test_local (line 6) | def test_local method test_mobile (line 12) | def test_mobile FILE: test/countries/se_test.rb class SETest (line 5) | class SETest < Minitest::Test method test_stockholm (line 8) | def test_stockholm method test_independent_numbers (line 15) | def test_independent_numbers method test_norrkoping (line 20) | def test_norrkoping method test_linkoping (line 25) | def test_linkoping method test_eskilstuna (line 30) | def test_eskilstuna method test_uppsala (line 35) | def test_uppsala method test_orebro (line 40) | def test_orebro method test_toll_free (line 45) | def test_toll_free method test_vasteras (line 50) | def test_vasteras method test_falun (line 55) | def test_falun method test_gavle (line 60) | def test_gavle method test_goteborg (line 65) | def test_goteborg method test_boras (line 70) | def test_boras method test_halmstad (line 75) | def test_halmstad method test_jonkoping (line 80) | def test_jonkoping method test_malmo (line 85) | def test_malmo method test_helsingborg (line 90) | def test_helsingborg method test_kristianstad (line 95) | def test_kristianstad method test_lund (line 100) | def test_lund method test_karlstad (line 105) | def test_karlstad method test_sundsvall (line 110) | def test_sundsvall method test_ostersund (line 115) | def test_ostersund method test_mobile_70 (line 120) | def test_mobile_70 method test_telematics (line 125) | def test_telematics method test_mobile_72 (line 130) | def test_mobile_72 method test_mobile_73 (line 135) | def test_mobile_73 method test_mobile_76 (line 140) | def test_mobile_76 method test_umea (line 145) | def test_umea method test_premium_99 (line 150) | def test_premium_99 method test_atvidaberg (line 157) | def test_atvidaberg method test_enkoping (line 178) | def test_enkoping method test_hallstahammar (line 187) | def test_hallstahammar method test_rattvik (line 203) | def test_rattvik method test_ockelbo (line 222) | def test_ockelbo method test_kungsbacka (line 227) | def test_kungsbacka method test_varberg (line 239) | def test_varberg method test_trelleborg (line 256) | def test_trelleborg method test_lanholm (line 267) | def test_lanholm method test_vaxjo (line 280) | def test_vaxjo method test_kisa (line 299) | def test_kisa method test_skovde (line 308) | def test_skovde method test_hjo (line 314) | def test_hjo method test_deje (line 342) | def test_deje method test_nora (line 363) | def test_nora method test_harnosand (line 371) | def test_harnosand method test_husum (line 396) | def test_husum method test_pagers (line 417) | def test_pagers method test_premium_900 (line 422) | def test_premium_900 method test_jorn (line 432) | def test_jorn method test_vannas (line 451) | def test_vannas method test_vittangi (line 476) | def test_vittangi FILE: test/countries/si_test.rb class SITest (line 4) | class SITest < Minitest::Test method test_local (line 6) | def test_local method test_local_2 (line 11) | def test_local_2 method test_mobile (line 16) | def test_mobile FILE: test/countries/ua_test.rb class UATest (line 4) | class UATest < Minitest::Test method test_local (line 6) | def test_local method test_mobile (line 10) | def test_mobile method test_mobile2 (line 14) | def test_mobile2 FILE: test/countries/us_test.rb class USTest (line 4) | class USTest < Minitest::Test method test_local (line 6) | def test_local method test_tollfree (line 10) | def test_tollfree method test_long_with_default_country_code (line 14) | def test_long_with_default_country_code method test_short_with_default_country_code_and_area_code (line 19) | def test_short_with_default_country_code_and_area_code FILE: test/countries/uy_test.rb class UYTest (line 5) | class UYTest < Minitest::Test method test_montevideo (line 8) | def test_montevideo method test_maldonado (line 13) | def test_maldonado method test_mobile_phones (line 18) | def test_mobile_phones FILE: test/countries/za_test.rb class ZATest (line 4) | class ZATest < Minitest::Test method test_local (line 6) | def test_local method test_mobile (line 11) | def test_mobile method test_tollfree (line 20) | def test_tollfree method test_long_msisdns (line 25) | def test_long_msisdns FILE: test/extension_test.rb class ExtensionTest (line 3) | class ExtensionTest < Minitest::Test method test_parse_usa_long_with_simple_extension (line 5) | def test_parse_usa_long_with_simple_extension method test_to_s_with_extension (line 15) | def test_to_s_with_extension method test_format_with_extension (line 20) | def test_format_with_extension method test_extract_extension (line 25) | def test_extract_extension FILE: test/helper.rb class Minitest::Test (line 22) | class Minitest::Test method setup (line 23) | def setup method teardown (line 28) | def teardown function parse_test (line 34) | def parse_test(raw, country_code, area_code, number) FILE: test/phone_test.rb class PhoneTest (line 3) | class PhoneTest < Minitest::Test method test_with_nil_number_initialize (line 5) | def test_with_nil_number_initialize method test_with_empty_number_initialize (line 11) | def test_with_empty_number_initialize method test_number_without_country_code_initialize (line 17) | def test_number_without_country_code_initialize method test_number_without_country_and_area_code_initialize (line 25) | def test_number_without_country_and_area_code_initialize method test_number_with_default_area_code_initialize (line 34) | def test_number_with_default_area_code_initialize method test_number_with_default_country_code_initialize (line 44) | def test_number_with_default_country_code_initialize method test_number_with_country_code_initialize (line 53) | def test_number_with_country_code_initialize method test_parse_empty (line 62) | def test_parse_empty method test_parse_with_special_characters_with_country (line 67) | def test_parse_with_special_characters_with_country method test_parse_with_extension (line 74) | def test_parse_with_extension method test_parse_wont_alter_parameter (line 82) | def test_parse_wont_alter_parameter method test_parse_short_without_special_characters_without_country (line 88) | def test_parse_short_without_special_characters_without_country method test_parse_short_with_special_characters_without_country (line 96) | def test_parse_short_with_special_characters_without_country method test_normalize (line 104) | def test_normalize method test_to_s (line 118) | def test_to_s method test_to_s_without_country_code (line 124) | def test_to_s_without_country_code method test_format_special_with_country_code (line 130) | def test_format_special_with_country_code method test_format_special_without_country_code (line 136) | def test_format_special_without_country_code method test_format_with_symbol_specifier (line 142) | def test_format_with_symbol_specifier method test_validity (line 148) | def test_validity method test_successful_validity_wont_alter_parameter (line 152) | def test_successful_validity_wont_alter_parameter method test_failing_validity_wont_alter_parameter (line 158) | def test_failing_validity_wont_alter_parameter method test_validity_with_country_code (line 164) | def test_validity_with_country_code method test_doesnt_validate (line 168) | def test_doesnt_validate method test_valid_wont_strip_the_extension (line 173) | def test_valid_wont_strip_the_extension method test_comparison_true (line 187) | def test_comparison_true method test_comparison_false (line 193) | def test_comparison_false method test_find_by_country_isocode (line 199) | def test_find_by_country_isocode