[#]TIL from @byroot’s excellent https://byroot.github.io/ruby/json/2024/12/18/optimizing-ruby-json-part-2.html that you can assign local variables in method argument defaults, e.g.
def initialize(ifnone = (ifnone_unset = true))
=> More informations about this toot | More toots from mudge@ruby.social
text/gemini
This content has been proxied by September (ba2dc).