We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
You'll want to read individual Forgery categories for more information, but these are the basics:
Forgery(:basic).password #=> "b6qZTQEH" Forgery(:internet).email_address #=> "krainboltgreene@crt.net" Forgery(:monetary).money #=> "1.58" Forgery(:lorem_ipsum).words(10) #=> "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam egestas." Forgery(:monetary).formatted_money :min => 100, :max => 1000 #=> "$923.36"
And many many more!
Alternatively you can write it like this:
Forgery::Basic.hex_color Forgery::Name.full_name Forgery::Personal.shirt_size
In addition, you can always write your own dictionaries and formats, overriding the ones in the gem. Fully explained here.