Skip to content

Instantly share code, notes, and snippets.

@nathancarnes
Created March 13, 2013 21:12
Show Gist options
  • Save nathancarnes/5156279 to your computer and use it in GitHub Desktop.
Save nathancarnes/5156279 to your computer and use it in GitHub Desktop.
class Channel
attr_accessor :name
def initialize(name)
@name = name
end
def silent?
# code here to determine whether or not the channel is silent
end
end
bhamruby = Channel.new('bhamruby')
puts 'i has a sad' if bhamruby.silent?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment