Skip to content

Instantly share code, notes, and snippets.

@vanmichael
Created November 26, 2013 15:10
Show Gist options
  • Save vanmichael/7659984 to your computer and use it in GitHub Desktop.
Save vanmichael/7659984 to your computer and use it in GitHub Desktop.
class television
def initialize(model, size, color)
@model = model
@size = size
@color = color
end
end
class channel(number,broadcaster)
def initialize(number,broadcaster)
@number = number
@broadcaster = broadcaster
end
end
class show
def initialize(title,length,genre)
@title = title
@length = length
@genre = genre
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment