Class: Faker::Team

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/default/team.rb

Constant Summary

Constants inherited from Base

Base::Letters, Base::Numbers, Base::ULetters

Class Method Summary collapse

Methods inherited from Base

bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, translate, unique, with_locale

Class Method Details

.creatureObject


12
13
14
# File 'lib/faker/default/team.rb', line 12

def creature
  fetch('team.creature')
end

.mascotObject


24
25
26
# File 'lib/faker/default/team.rb', line 24

def mascot
  fetch('team.mascot')
end

.nameObject


8
9
10
# File 'lib/faker/default/team.rb', line 8

def name
  parse('team.name')
end

.sportObject


20
21
22
# File 'lib/faker/default/team.rb', line 20

def sport
  fetch('team.sport')
end

.stateObject


16
17
18
# File 'lib/faker/default/team.rb', line 16

def state
  fetch('address.state')
end