Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 599 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 599 Bytes

harry_potter_faker

Your test data no longer has to be boring! Now enjoy testing with Harry Potter themed faked data.

Installing

gem install 'harry_potter_faker'

Usage

HPFaker = HarryPotterFaker.new()
HPFaker.name #=> "Wizard Dedalus Zabini II" 

Names

# may or may not have a prefix or suffix
HPFaker.name #=> "Wizard Dedalus Zabini II" 

HPFaker.first_name #=> "Harry" 

HPFaker.last_name #=> "Ollivander" 

HPFaker.first_and_last #=> "Kingsley Sprout" 

HPFaker.prefix #=> "Professor" 

HPFaker.suffix #=> "Order of Merlin, First Class"