What is the difference between `try` and `&.` (safe navigation operator) in Ruby
&. works like #try!, not #try. And here is description of #try! (from documentation): Same as #try, but will raise a NoMethodError exception if the receiving is not nil and does not implemented the tried method. So basically it saves you from calling a method on nil, but if an object is presented it will … Read more