like DOMDocument class in PHP, is there any class in RUBY (i.e the core RUBY), to parse and get node elements value from a HTML Document.
You should check out hpricot. It's exceedingly good. It's not 'core' ruby, but it's a commonly used gem.