Ruby STL Support

Has anyone heard of a good standard Ruby template library? Or is there some kind of shell?

Thanks!

+3
source share
2 answers

If you mean something like C ++ STL, then this is pretty much built into Ruby. Ruby has a large set of basic data structures and other utilities.

+2
source

C/++ STL? . , ( , 2 32 (int), 2 64 () ..), , .. > , push, pop, delete_at(0).

some_array.each { |x| 
    #some action
}
+3

Source: https://habr.com/ru/post/1719576/


All Articles