Class: Faker::Shakespeare
- Inherits:
-
Base
- Object
- Base
- Faker::Shakespeare
show all
- Defined in:
- lib/faker/shakespeare.rb
Constant Summary
Constants inherited
from Base
Base::Letters, Base::Numbers, Base::ULetters
Class Method Summary
collapse
Methods inherited from Base
bothify, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, sample, shuffle, translate, unique, with_locale
Class Method Details
.as_you_like_it ⇒ Object
25
26
27
|
# File 'lib/faker/shakespeare.rb', line 25
def as_you_like_it
fetch('shakespeare.as_you_like_it')
end
|
.as_you_like_it_quote ⇒ Object
9
10
11
|
# File 'lib/faker/shakespeare.rb', line 9
def as_you_like_it_quote
sample(as_you_like_it)
end
|
.hamlet ⇒ Object
21
22
23
|
# File 'lib/faker/shakespeare.rb', line 21
def hamlet
fetch('shakespeare.hamlet')
end
|
.hamlet_quote ⇒ Object
5
6
7
|
# File 'lib/faker/shakespeare.rb', line 5
def hamlet_quote
sample(hamlet)
end
|
.king_richard_iii ⇒ Object
30
31
32
|
# File 'lib/faker/shakespeare.rb', line 30
def king_richard_iii
fetch('shakespeare.king_richard_iii')
end
|
.king_richard_iii_quote ⇒ Object
13
14
15
|
# File 'lib/faker/shakespeare.rb', line 13
def king_richard_iii_quote
sample(king_richard_iii)
end
|
.romeo_and_juliet ⇒ Object
34
35
36
|
# File 'lib/faker/shakespeare.rb', line 34
def romeo_and_juliet
fetch('shakespeare.romeo_and_juliet')
end
|
.romeo_and_juliet_quote ⇒ Object
17
18
19
|
# File 'lib/faker/shakespeare.rb', line 17
def romeo_and_juliet_quote
sample(romeo_and_juliet)
end
|