Class: Faker::Educator
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.campus ⇒ String
Produces a campus name.
-
.course_name ⇒ String
Produces a course name.
-
.degree ⇒ String
(also: course)
Produces a university degree.
-
.primary_school ⇒ String
Produces a primary school.
-
.secondary_school ⇒ String
Produces a secondary school.
-
.subject ⇒ String
Produces a university subject.
-
.university ⇒ String
Produces a university name.
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, shuffle!, translate, unique, with_locale
Class Method Details
.campus ⇒ String
Produces a campus name.
97 98 99 |
# File 'lib/faker/default/educator.rb', line 97 def campus parse('educator.campus') end |
.course_name ⇒ String
Produces a course name.
58 59 60 |
# File 'lib/faker/default/educator.rb', line 58 def course_name numerify(parse('educator.course_name')) end |
.degree ⇒ String Also known as: course
Produces a university degree.
30 31 32 |
# File 'lib/faker/default/educator.rb', line 30 def degree parse('educator.degree') end |
.primary_school ⇒ String
Produces a primary school.
84 85 86 |
# File 'lib/faker/default/educator.rb', line 84 def primary_school parse('educator.primary_school') end |
.secondary_school ⇒ String
Produces a secondary school.
71 72 73 |
# File 'lib/faker/default/educator.rb', line 71 def secondary_school parse('educator.secondary_school') end |
.subject ⇒ String
Produces a university subject.
45 46 47 |
# File 'lib/faker/default/educator.rb', line 45 def subject fetch('educator.subject') end |
.university ⇒ String
Produces a university name.
17 18 19 |
# File 'lib/faker/default/educator.rb', line 17 def university parse('educator.university') end |