Class: Faker::Educator
- Inherits:
-
Base
- Object
- Base
- Faker::Educator
show all
- Defined in:
- lib/faker/educator.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_in_range, regexify, translate, unique, with_locale
Class Method Details
.campus ⇒ Object
18
19
20
|
# File 'lib/faker/educator.rb', line 18
def campus
"#{parse('educator.name')} Campus"
end
|
.course ⇒ Object
10
11
12
|
# File 'lib/faker/educator.rb', line 10
def course
"#{fetch('educator.tertiary.course.type')} #{fetch('educator.tertiary.course.subject')}"
end
|
.secondary_school ⇒ Object
14
15
16
|
# File 'lib/faker/educator.rb', line 14
def secondary_school
"#{parse('educator.name')} #{fetch('educator.secondary')}"
end
|
.university ⇒ Object
6
7
8
|
# File 'lib/faker/educator.rb', line 6
def university
"#{parse('educator.name')} #{fetch('educator.tertiary.type')}"
end
|