Ruby’s New Exception Keyword Arguments
In Ruby 2.6, a variety of Kernel methods get a new exception: false or exception: true keyword argument. When Kernel methods fail, some raise an error and some just return nil. This new feature.
Ruby’s New Exception Keyword Arguments #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/ruby-s-new-exception-keyword-arguments