Module: Phonelib

Extended by:
Core
Defined in:
lib/phonelib.rb,
lib/phonelib/core.rb,
lib/phonelib/phone.rb,
lib/phonelib/version.rb,
lib/phonelib/data_importer.rb,
lib/phonelib/phone_analyzer.rb,
lib/phonelib/phone_formatter.rb,
lib/phonelib/phone_extended_data.rb,
lib/phonelib/data_importer_helper.rb,
lib/phonelib/phone_analyzer_helper.rb

Overview

main Phonelib module definition

Defined Under Namespace

Modules: Core, DataImporter, DataImporterHelper, PhoneAnalyzer, PhoneAnalyzerHelper, PhoneExtendedData, PhoneFormatter Classes: Phone

Constant Summary collapse

VERSION =
'0.6.55'

Constants included from Core

Core::AREA_CODE_MOBILE_COUNTRIES, Core::AREA_CODE_MOBILE_TOKENS, Core::AREA_CODE_OPTIONAL, Core::AREA_CODE_TYPES, Core::CARRIER_SELECTION_CODES, Core::CARRIER_SERVICES, Core::CARRIER_SPECIFIC, Core::COUNTRY_CODE, Core::DEFAULT_NUMBER_FORMAT, Core::DIRECTORY_SERVICES, Core::DOUBLE_COUNTRY_PREFIX_FLAG, Core::EMERGENCY, Core::EXPANDED_EMERGENCY, Core::EXT_CARRIERS, Core::EXT_CARRIER_KEY, Core::EXT_COUNTRY_NAMES, Core::EXT_GEO_NAMES, Core::EXT_GEO_NAME_KEY, Core::EXT_PREFIXES, Core::EXT_TIMEZONES, Core::EXT_TIMEZONE_KEY, Core::FILE_EXT_DATA, Core::FILE_MAIN_DATA, Core::FIXED_LINE, Core::FIXED_OR_MOBILE, Core::FORMATS, Core::GENERAL, Core::INTERNATIONAL_PREFIX, Core::LEADING_DIGITS, Core::MAIN_COUNTRY_FOR_CODE, Core::MOBILE, Core::NATIONAL_PREFIX, Core::NATIONAL_PREFIX_FOR_PARSING, Core::NATIONAL_PREFIX_RULE, Core::NATIONAL_PREFIX_TRANSFORM_RULE, Core::NO_INTERNATIONAL_DIALING, Core::PAGER, Core::PATTERN, Core::PERSONAL_NUMBER, Core::PLUS_SIGN, Core::POSSIBLE_PATTERN, Core::PREMIUM_RATE, Core::SHARED_COST, Core::SHORT, Core::SHORT_CODE, Core::SHORT_CODES, Core::SMS_SERVICES, Core::STANDARD_RATE, Core::TOLL_FREE, Core::TYPES, Core::TYPES_DESC, Core::UAN, Core::VALID_PATTERN, Core::VANITY_4_LETTERS_KEYS_REGEX, Core::VOICEMAIL, Core::VOIP

Method Summary

Methods included from Core

add_additional_regex, additional_regexes, additional_regexes=, default_country, default_country=, dump_additional_regexes, extension_separate_symbols, extension_separate_symbols=, extension_separator, extension_separator=, impossible?, invalid?, invalid_for_country?, override_phone_data, override_phone_data=, parse, parse_special, parse_special=, phone_data, phone_ext_data, phone_regexp_cache, possible?, sanitize_regex, sanitize_regex=, strict_check, strict_check=, strict_double_prefix_check, strict_double_prefix_check=, valid?, valid_for_country?, vanity_conversion, vanity_conversion=