16
Ruby 2.3 what’s new? Jędrzej Wiśniewski

Ruby 2.3 what’s new

Embed Size (px)

Citation preview

Page 1: Ruby 2.3 what’s new

Ruby 2.3 what’s new?Jędrzej Wiśniewski

Page 2: Ruby 2.3 what’s new

Frozen String Literals

Page 3: Ruby 2.3 what’s new

Safe navigation operator

Page 4: Ruby 2.3 what’s new

Did you mean?

Page 5: Ruby 2.3 what’s new

Hash comparison

Page 6: Ruby 2.3 what’s new

Same keys and content

Page 7: Ruby 2.3 what’s new

Same keys different content

Page 8: Ruby 2.3 what’s new

Same content different keys

Page 9: Ruby 2.3 what’s new

Hash containing different one (with same values)

Page 10: Ruby 2.3 what’s new

Hash containing different one (with different values)

Page 11: Ruby 2.3 what’s new

Number #negative? #positive?

Page 12: Ruby 2.3 what’s new

Hash #dig and Array #dig

Page 13: Ruby 2.3 what’s new

Hash #to_proc

Page 14: Ruby 2.3 what’s new

Hash #fetch values

Page 15: Ruby 2.3 what’s new

Enumerable #grep_v

Page 16: Ruby 2.3 what’s new

Source: http://dev.mensfeld.pl/2015/11/ruby-2-3-0-changes-and-features/