Empty Arrays: surprising behaviour |

You won’t believe what happens when all the animals run away from the zoo.There are a couple of array methods that are often useful, .any? and .all?. .any? will return true if the supplied block returns true for at least one item in the array. For example:.
Empty Arrays: surprising behaviour | #ruby #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper

Nezir Zahirovic

Freelance software developer Ruby On Rails (4 years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles