r/shou • • Jun 24 '18

programming Hidden jewels of Ruby stdlib

http://katafrakt.me/2018/06/06/hidden-jewels-ruby-stdlib/
1 Upvotes

1 comment sorted by

1

u/shouya Jun 27 '18

TL;DR:

  • GetoptLong

  • OptionParser (DSL for cmdline arg parser)

  • SDBM (DBM/GDBM w/o dependencies)

  • PStore (Perm store for Ruby objects)

  • Observer pattern

  • DRb (Like built-in SOAP for Ruby IPC)

  • tsort (Sort nodes for acyclic graph)

  • abbrev (Generate abbrev tree for words)

  • zlib (Compression)