Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upIs "avoid using String#+" still valid in the era of frozen_string_literal #28
Comments
|
|
At the top of the file, you can add a comment:
This would be in place of:
|
I was just digging through the styleguide, and spotted that at least in
github/githubwhere we fail the build iffrozen_string_literal: trueis not set, the suggested code won't actually run.Should we update the guidance here? Or be more clear that large is the keyword here, and guide as to how to correctly opt out of frozen_string_literal (I don't actually know how to)