Created
November 25, 2008 21:36
-
-
Save bryanwoods/29101 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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