Class: Faker::University

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/university.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, rand_in_range, regexify, translate

Class Method Details

.nameObject



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

def name
  parse('university.name')
end

.prefixObject



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

def prefix
  fetch('university.prefix')
end

.suffixObject



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

def suffix
  fetch('university.suffix')
end