ruby 1.9 methods in ruby 1.8.6
        Posted  
        
            by tig
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by tig
        
        
        
        Published on 2009-07-19T17:19:26Z
        Indexed on 
            2010/04/08
            21:03 UTC
        
        
        Read the original article
        Hit count: 297
        
Is there a gem or a library to get ruby 1.9 methods like
[1, 2, 3].combination(2)
[1, 2, 3].permutation(2)
[1, 2, 3].product([1, 2, 3])
[1, 2, 3, 4, 5].cycle
© Stack Overflow or respective owner