lib/phonelib/phone.rb
# method to get sanitized phone number (only numbers)
# @return [String] Sanitized phone number
method to get sanitized phone number (only numbers)
method to get sanitized phone number ( only numbers )
def sanitized
      @sanitized ||=
          vanity_converted(@original).gsub(
              Phonelib.strict_check ? cr('^\+') : cr(Phonelib.sanitize_regex),
              '')
    end
def sanitized @sanitized ||= vanity_converted ( @original ) . gsub ( Phonelib . strict_check ? cr ( '^\+' ) : cr ( Phonelib . sanitize_regex ) , '' ) end
method to get sanitized phone number (only numbers)
method to get sanitized phone number ( only numbers )
Sanitized phone number
Sanitized phone number
String