codeforamerica / honeycrisp-gem

A Rails gem with base styles and Javascript for Code for America products
http://honeycrisp.herokuapp.com
MIT License
24 stars 8 forks source link

Fix syntax error on Ruby 3.0 #315

Closed tdooner closed 1 year ago

tdooner commented 1 year ago

We jumped the gun on removing unused &block variable names -- that syntax isn't supported until Ruby 3.1.

Until then, let's keep these anonymous block arguments.

tdooner commented 1 year ago

Oops - I meant to write, "let's keep these named block arguments"