class Faker::University

Public Class Methods

greek_alphabet() click to toggle source
# File lib/faker/university.rb, line 22
def greek_alphabet
  ['Α', 'B', 'Γ', 'Δ', 'E', 'Z', 'H', 'Θ', 'I', 'K', 'Λ', 'M', 'N', 'Ξ',
   'O', 'Π', 'P', 'Σ', 'T', 'Y', 'Φ', 'X', 'Ψ', 'Ω']
end
greek_organization() click to toggle source
# File lib/faker/university.rb, line 18
def greek_organization
  3.times.map { |_| sample(greek_alphabet) }.join
end
name() click to toggle source
# File lib/faker/university.rb, line 6
def name
  parse('university.name')
end
prefix() click to toggle source
# File lib/faker/university.rb, line 10
def prefix
  fetch('university.prefix')
end
suffix() click to toggle source
# File lib/faker/university.rb, line 14
def suffix
  fetch('university.suffix')
end