class Show

Attributes

label[RW]
productions[RW]
type[RW]

Public Class Methods

all() click to toggle source
# File lib/Theatre_Explorer/show.rb, line 15
def self.all
    @@all
end
new(label, type = "Unknown", productions = []) click to toggle source
# File lib/Theatre_Explorer/show.rb, line 6
def initialize(label, type = "Unknown", productions = [])
    unless Show.find(label)
        @label = label
        @type = type
        @productions = productions
        @@all << self
    end
end