Ruby 2.3.0

A minor revision with major impact

(and no breaking changes!)

Did You Mean?

&.

&.

The safe navigation operator

(or lonely operator)

Can you dig it?

Hash.dig + Array.dig

.positive? 

.negative?

I can tell you what I don't want

.grep + .grep_v

Chill Them Strings Out

String.freeze

Proc That Hash

Hash.to_proc

Fetch Them Values

Hash.fetch_values

Compare Them Hashes

Thanks!

Resources

More examples of new features in Ruby 2.3.0

http://work.stevegrossi.com/2016/01/14/new-features-in-ruby-2-3/

I'm Mina

You can find me on the web in these places

fightingtheboss.com

@fightingtheboss

mina@bitmakerlabs.com

Copy of Ruby 2.3.0

By Bitmaker

Copy of Ruby 2.3.0

  • 767