class CLI

Constants

SESSION

Public Class Methods

new() click to toggle source
# File lib/prls/cli.rb, line 5
def initialize
    SESSION << self
end
session() click to toggle source
# File lib/prls/cli.rb, line 9
def self.session 
    SESSION.first
end

Public Instance Methods

call() click to toggle source
# File lib/prls/cli.rb, line 13
def call
    header
    menu
end
header() click to toggle source
# File lib/prls/cli.rb, line 18
def header
    puts ""
    puts "PERFORMING RIGHTS LOOKUP SERVICE"
    puts "--------------------------------"
end
menu() click to toggle source
pros() click to toggle source
# File lib/prls/cli.rb, line 24
def pros
    puts ""
    puts "Select a PRO to see their currently featured plays:"
    puts ""
    puts "1. Dramatist's Play Service, Inc."
    puts "2. Concord Theatricals (formerly Samuel French, Ltd.)"
    puts "3. Music Theatre International"
    puts "4. Playscripts, Inc."
    puts "5. Broadway Play Publishing, Inc."
    puts ""
    puts "To exit, type 'exit'."
    puts ""
end