Skip to content

Instantly share code, notes, and snippets.

@bryanwoods
Created November 25, 2008 21:36
Show Gist options
  • Save bryanwoods/29101 to your computer and use it in GitHub Desktop.
Save bryanwoods/29101 to your computer and use it in GitHub Desktop.
class PeanutButter
def self.jam
charcount = 'this is a tweet'.count('a-z- ')
end
def self.jelly
if jam == 140
print "Hell yeah! 140 characters! \n"
elsif jam != 140
print "Where'd you learn to tweet like that? Retard school? \n"
else
print "Something unexpectedly boinked \n"
end
end
end
puts PeanutButter.jelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment