Sha256: a14514b72e08445464c310365cbb0af2671233518b5dfe6d0a2da32f912209d8

Contents?: true

Size: 287 Bytes

Versions: 2

Compression:

Stored size: 287 Bytes

Contents

$:.unshift File.dirname(__FILE__)

require 'faker/address'
require 'faker/company'
require 'faker/internet'
require 'faker/name'
require 'faker/phone_number'

require 'facets/random'

module Faker
  def self.numerify(number_string)
    number_string.gsub(/#/) { rand(10).to_s }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
faker-0.2.0 lib/faker.rb
faker-0.1.0 lib/faker.rb