Class: Faker::Team
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, respond_to_missing?, sample, shuffle, translate, unique, with_locale
Class Method Details
.creature ⇒ Object
10
11
12
|
# File 'lib/faker/team.rb', line 10
def creature
fetch('team.creature')
end
|
.mascot ⇒ Object
22
23
24
|
# File 'lib/faker/team.rb', line 22
def mascot
fetch('team.mascot')
end
|
.name ⇒ Object
6
7
8
|
# File 'lib/faker/team.rb', line 6
def name
parse('team.name')
end
|
.sport ⇒ Object
18
19
20
|
# File 'lib/faker/team.rb', line 18
def sport
fetch('team.sport')
end
|
.state ⇒ Object
14
15
16
|
# File 'lib/faker/team.rb', line 14
def state
fetch('address.state')
end
|