# Create's a new Locke monster and initializes it's brain.
@brain = 
@topic = nil
# Accepts a string, typically a single thought that Locke my process
# and possess. Be warned before passing a string into Locke that he
# will forever own that idea/object/thought.
@topic = topic
# Randomly selects a quote that the brain knows. If Locke
# has recently thought of a topic, anything involving OLC
# will be replaced with that topic. Just an easy way to
# make sure everyonw knows that he owns everything that
# he thinks of, regardless of whether or not it's a new
index = rand(@brain.size)
puts (@topic.nil? ? @brain[index] : @brain[index].gsub('OLC',@topic))
# Accepts a string, \n delimited quotes, then passes them
# into the brain as array elements. Quote's should express
# all of the different ways in which he owns OLC.
data.each do |idea|
@brain << idea
# A few quotes.
quotes = "I own OLC.
OLC make's me hot.
I created OLC.
Credit me for your OLC.
Include my name in your OLC.
E-mail me if you use my OLC.
Don't forget that I made your OLC.
I still remember the day I first touched OLC.
OLC is the highlight of my life.
I will always love OLC.
You remind me of OLC.
I named my pet dog OLC."