0.0
No commit activity in last 3 years
No release in over 3 years
Call Faker methods from one namespace, ie. Faker::Lorem.word => Fake.word
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 1.2.0
 Project Readme

Little Faker Gem

Delegates access to Faker gem methods from single name space.

Dependencies

Requirements:

  • Ruby 1.9 or greater
  • Faker gem

Setup

Add to Gemfile:

gem ‘little_faker’

Require where needed:

require ‘fake’
or
require ‘little_faker’

Usage

Examples:

Faker::Internet.email => Fake.email
Faker::Internet.password => Fake.password
Faker::Name.first_name => Fake.first_name
etc.

Add custom fakers to:

class << Fake
def another_faker

end
end

List all faker methods:

$ Fake.faker_methods