Toot

Written by mretka :heart_cyber:​ on 2024-11-16 at 10:40

Today I learned about the built-in Abbrev module in #ruby :

https://alexwlchan.net/til/2024/find-shortest-prefix-ruby/

It can be used to find the shortest unambiguous abbreviation of a string from a list of words.

=> More informations about this toot | View the thread | More toots from mretka@infosec.exchange

Mentions

Tags

=> View ruby tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113492204263368834
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
224.263908 milliseconds
Gemini-to-HTML Time
0.5636 milliseconds

This content has been proxied by September (3851b).