I've got 2 static functions (self.),
playlist function is calling check_movie function in a loop.
I need to have the results stored in myarray and myhash.
I don't know how I can give references of myarray and myhash to
check_movie function so myarray and myhash are updated and not emptied
everytime I loop.
myarray = new Array
myhash = new Hash
Movie.find(:all).each do |movie|
#use of myarray and myhash
#fill myarray, fill myhash