+ All Categories
Home > Technology > Enumerables TDC

Enumerables TDC

Date post: 26-Jan-2017
Category:
Upload: bruno-gomes
View: 104 times
Download: 0 times
Share this document with a friend
103
Enumerables: Beyond the #each
Transcript

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!


Recommended