class Faker::GreekPhilosophers

Public Class Methods

name() click to toggle source

Produces the name of a Greek philosopher.

@return [String]

@example

Faker::GreekPhilosophers.name #=> "Socrates"

@faker.version 1.9.0

# File lib/faker/default/greek_philosophers.rb, line 15
def name
  fetch('greek_philosophers.names')
end
quote() click to toggle source

Produces a quote from a Greek philosopher.

@return [String]

@example

Faker::GreekPhilosophers.quote #=> "Only the educated are free."

@faker.version 1.9.0

# File lib/faker/default/greek_philosophers.rb, line 28
def quote
  fetch('greek_philosophers.quotes')
end