Can anyone help me with the above confusions?

Thanks

-- 
Posted via http://www.ruby-forum.com/.