class Playbook::PbTextInput::TextInput

def mask_pattern

def mask_pattern
  return nil unless mask
  MASK_PATTERNS[mask]
end