class Faker::Theater

Public Class Methods

adult_musical() click to toggle source

Produces the name of a musical for an older audience

@return [String]

@example

Faker::Theater.adult_musical
  #=> "Mamma Mia!"

@faker.version 2.13.0

# File lib/faker/default/theater.rb, line 16
def adult_musical
  fetch('theater.adult_musical')
end
kids_musical() click to toggle source

Produces the name of a musical for a younger audience

@return [String]

@example

Faker::Theater.kids_musical
  #=> "Into the Woods JR."

@faker.version 2.13.0

# File lib/faker/default/theater.rb, line 30
def kids_musical
  fetch('theater.kids_musical')
end
play() click to toggle source

Produces the name of a play

@return [String]

@example

Faker::Theater.play
  #=> "Death of a Salesman"

@faker.version 2.13.0

# File lib/faker/default/theater.rb, line 44
def play
  fetch('theater.play')
end