Skip to content

Instantly share code, notes, and snippets.

@justuseapen
Created November 26, 2013 15:42
Show Gist options
  • Save justuseapen/7660670 to your computer and use it in GitHub Desktop.
Save justuseapen/7660670 to your computer and use it in GitHub Desktop.
class Television
def initialize(size,brand)
@size = size
@brand = brand
end
end
class TVChannel
def initialize(name,channel_number,parent_company)
@name = name
@channel_number = channel_number
@parent_company = [Viacom, CBS, News Corporation, Time Warner, GE, Disney]
end
end
class TVShow
def initialize(name, TVChannel, run_time)
@name = name
@TVChannel = TVChannel
@run_time= run_time
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment