Thanks Jeremy,
I am able to solve the problem regarding indentation by changing the
code as posted. There is one little question i want to ask.
How do convert these two hashes:
[{xxxxxx},{yyyyyy}]
to be like this:
[{xxxxxx, yyyyyy}]
Is it possible at all?
Regarding the Environmental class. I still need that class because i
want to open my yaml file to be used by many subclasses, not just
EnergyManagement only. Thanks
Nizam
--
Posted via http://www.ruby-forum.com/.