module FFaker::String

def special(token)

Experimental RBS support (using type sampling data from the type_fusion project).

def special: (String token) -> String

This signature was generated using 1 sample from 1 application.

def special(token)
  case token
  when 'w' then fetch_sample(WORD_CHARS)
  when 'd' then fetch_sample(NUMBERS)
  when 's' then fetch_sample(SPACES)
  when *ESCAPEABLE_CHARS then token
  else
    ''
  end
end