Skip to content

Commit

Permalink
Add Faker::VForVendetta (#1073)
Browse files Browse the repository at this point in the history
  • Loading branch information
backpackerhh authored and stympy committed Nov 21, 2017
1 parent 612271c commit e48f799
Show file tree
Hide file tree
Showing 5 changed files with 209 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ Contents
- [Faker::University](doc/university.md)
- [Faker::Vehicle](doc/vehicle.md)
- [Faker::VentureBros](doc/venture_bros.md)
- [Faker::VForVendetta](doc/v_for_vendetta.md)
- [Faker::Witcher](doc/witcher.md)
- [Faker::WorldOfWarcraft](doc/world_of_warcraft.md)
- [Faker::Zelda](doc/zelda.md)
Expand Down
9 changes: 9 additions & 0 deletions doc/v_for_vendetta.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Faker::VForVendetta

```ruby
Faker::VForVendetta.character #=> "V"

Faker::VForVendetta.speech #=> "Remember, remember, the Fifth of November, the Gunpowder Treason and Plot. I know of no reason why the Gunpowder Treason should ever be forgot..."

Faker::VForVendetta.quote #=> "People should not be afraid of their governments. Governments should be afraid of their people."
```
17 changes: 17 additions & 0 deletions lib/faker/v_for_vendetta.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module Faker
class VForVendetta < Base
class << self
def character
fetch('v_for_vendetta.characters')
end

def speech
fetch('v_for_vendetta.speeches')
end

def quote
fetch('v_for_vendetta.quotes')
end
end
end
end
Loading

0 comments on commit e48f799

Please sign in to comment.