Class: Faker::Team

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/team.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

.creatureObject


10
11
12
# File 'lib/faker/team.rb', line 10

def creature
  fetch('team.creature')
end

.mascotObject


18
19
20
# File 'lib/faker/team.rb', line 18

def mascot
  fetch('team.mascot')
end

.nameObject


6
7
8
# File 'lib/faker/team.rb', line 6

def name
  parse('team.name')
end

.stateObject


14
15
16
# File 'lib/faker/team.rb', line 14

def state
  fetch('address.state')
end