module FFaker::String

def from_regexp(exp)

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

def from_regexp: (Regexp exp) -> String

This signature was generated using 1 sample from 1 application.

def from_regexp(exp)
  result = +''
  @last_token = nil
  # Drop surrounding /'s and split into characters
  tokens = exp.inspect[1...-1].split(//)
  result << process_token(tokens) until tokens.empty?
  result
end