Enumerables TDC

103
Enumerables: Beyond the #each

Transcript of Enumerables TDC

Enumerables: Beyond the #each

BRUNO GOMES

@brunojabs

Software Engineer at Magnetis

ENUMERABLES

ENUMERABLESModule Standard Lib Ruby E.g.: Array []

Hash {}

♥🍺

♥🍺

Beer Struct

Beer Struct

Beer Struct

Beer Struct

Cheers!

#each

#each

#each

#each

#each

👍

#each_with_index

#each_with_index

#each_with_index

#each_with_index

#each_with_index

👍

#each_with_object

#each_with_object

#each_with_object

#each_with_object

#each_with_object

#each_with_object

👍

#all?

#all?

#all?

!= nil || != false

#all?

👍

#partition

#partition

#partition

👍

#select

#select

#select

#select

👍

#detect

#detect

👍

#map

#map

#map

👍

#group_by

#group_by

#group_by

👍

#include?

#include?

#include?

👍

MY OWN ENUMERABLE

CONCLUSION

We are hiring!magnetis.com.br/dev

THANK YOU!