Class: PrivacyMaskTools::Base

Inherits:
Object
  • Object
show all
Extended by:
EmailMatcher, PhoneMatcher
Defined in:
lib/privacy_mask_tools/base.rb

Overview

PrivacyMaskTools::Matcherをincludeしselfで使用できるようにしています

Examples:

PrivacyMaskTools::Base.mobile_number_masking("#{target_text}")

Constant Summary

Constants included from PhoneMatcher

PhoneMatcher::JARGON_MOBILE_NUMBER_REGEXP, PhoneMatcher::JARGON_PHONE_NUMBER_REGEXP, PhoneMatcher::MOBILE_NUMBER_REGEXP, PhoneMatcher::PHONE_NUMBER_REGEXP

Method Summary

Methods included from EmailMatcher

domain_regexp, has_rfc_email?, make_rfc_regexp, pick_rfc_email, quoted_regexp, quoted_special_char, rfc_email_masking, special_char, unquoted_regexp

Methods included from PhoneMatcher

has_jargon_mobile_number?, has_jargon_phone_number?, has_mobile_number?, has_phone_number?, mobile_number_masking, phone_nomber_masking, pick_mobile_number, pick_phone_number