class Faker::Educator

Public Class Methods

campus() click to toggle source

Produces a campus name.

@return [String]

@example

Faker::Educator.campus #=> "Vertapple Campus"

@faker.version 1.6.4

# File lib/faker/default/educator.rb, line 97
def campus
  parse('educator.campus')
end
course()
Alias for: degree
course_name() click to toggle source

Produces a course name.

@return [String]

@example

Faker::Educator.course_name #=> "Criminology 101"

@faker.version 1.9.2

# File lib/faker/default/educator.rb, line 58
def course_name
  numerify(parse('educator.course_name'))
end
degree() click to toggle source

Produces a university degree.

@return [String]

@example

Faker::Educator.degree #=> "Associate Degree in Criminology"

@faker.version 1.9.2

# File lib/faker/default/educator.rb, line 30
def degree
  parse('educator.degree')
end
Also aliased as: course
primary_school() click to toggle source

Produces a primary school.

@return [String]

@example

Faker::Educator.primary_school #=> "Brighthurst Elementary School"

@faker.version next

# File lib/faker/default/educator.rb, line 84
def primary_school
  parse('educator.primary_school')
end
secondary_school() click to toggle source

Produces a secondary school.

@return [String]

@example

Faker::Educator.secondary_school #=> "Iceborough Secondary College"

@faker.version 1.6.4

# File lib/faker/default/educator.rb, line 71
def secondary_school
  parse('educator.secondary_school')
end
subject() click to toggle source

Produces a university subject.

@return [String]

@example

Faker::Educator.subject #=> "Criminology"

@faker.version 1.9.2

# File lib/faker/default/educator.rb, line 45
def subject
  fetch('educator.subject')
end
university() click to toggle source

Produces a university name.

@return [String]

@example

Faker::Educator.university #=> "Mallowtown Technical College"

@faker.version 1.6.4

# File lib/faker/default/educator.rb, line 17
def university
  parse('educator.university')
end