-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
612271c
commit e48f799
Showing
5 changed files
with
209 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.