Created
October 28, 2011 19:05
-
-
Save rxbynerd/1323138 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Feelings | |
def bad | |
@bad | |
end | |
def bad=(bad) | |
@bad = bad | |
end | |
end | |
class Problems | |
attr_accessor :problems, :bitch | |
def set(k) | |
@problems = k | |
end | |
end | |
class Person | |
attr_accessor :girl_problems, :feelings, :problems | |
def initialize | |
@girl_problems = false | |
@feelings = Feelings.new | |
@problems = Problems.new | |
end | |
end | |
class Me < Person | |
def shout(awesomeFlow) | |
puts awesomeFlow.to_s | |
end | |
end | |
class You < Person | |
def initialize | |
@girl_problems = true | |
end | |
end | |
me = Me.new | |
you = You.new | |
i = 0; | |
while you.girl_problems == true do | |
me.feelings.bad = true | |
me.problems.set(99) | |
me.problems.bitch = false | |
if i != 0 | |
me.shout("Hit me.") | |
end | |
i += 1 | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment