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, flexible, letterify, method_missing, numerify, parse, regexify, translate

Class Method Details

.creatureObject



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

def creature
  fetch('team.creature')
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('faker.address.state').titleize
end