On 14.08.2010 10:34, Jes=FAs Gabriel y Gal=E1n wrote:
> On Sat, Aug 14, 2010 at 9:03 AM, Chan Nguyen<cnguyen / rapattoni.com>  wr=
ote:
>> 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, ma=
p,
>> 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=20
order and with O(1) element access.

And then there is Set for efficient set operations.

Kind regards

	robert

--=20
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/