module FFaker

def self.bothify(masks)

def self.bothify(masks)
  letterify(numerify(masks))
end

def self.hexify(*masks)

def self.hexify(*masks)
  fetch_sample(masks.flatten).gsub(/#/) { fetch_sample(HEX) }
end

def self.letterify(*masks)

def self.letterify(*masks)
  fetch_sample(masks.flatten).gsub(/\?/) { fetch_sample(LETTERS) }
end

def self.numerify(*masks)

def self.numerify(*masks)
  fetch_sample(masks.flatten).gsub(/#/) { rand(0..9).to_s }
end