From: Robert Klemme Date: 2010-08-14T18:25:06+09:00 Subject: Re: Question about learning Ruby effectively On 14.08.2010 10:34, Jesús Gabriel y Galán wrote: > On Sat, Aug 14, 2010 at 9:03 AM, Chan Nguyen wrote: >> Hi everyone, >> I'm a newbie to Ruby. I've just started learning Ruby for a week, but I >> love it ^_^ so much. I wonder is there any website to look up standard >> library like C++? > > http://ruby-doc.org/core/ > > contains the core classes. > > http://www.ruby-doc.org/stdlib > > contains the standard library. > >> And does Ruby have some standard container like C++ ( vector, list, map, >> stack, deque... ). > > The basic containers are arrays and hashes. An array can be used as a > stack or queue, and a hash is a map or dictionary. Array can of course also be used as list, i.e. maintaining a custom order and with O(1) element access. And then there is Set for efficient set operations. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/