Topic: dependency injection (DI) question

I have come across this: "Use dependency injection instead of singletons and class variables".

I have a situation where i use property values in a hash and assign to class variables of a class in a module. I thought i can try DI. Can any one provide me some pointers?

Thanks in advance.