Ancestors

Toot

Written by mudge on 2024-12-18 at 19:32

[#]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

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113675493627091771
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
242.292552 milliseconds
Gemini-to-HTML Time
0.4161 milliseconds

This content has been proxied by September (ba2dc).