2 ms·
Which is exactly the kind of shortcut I loathe.
by pmontra 4y ago
Which is exactly the kind of shortcut I loathe.
- greenpeas 4y agoyou're not alone :) https://bugs.ruby-lang.org/issues/15723 https://bugs.ruby-lang.org/issues/15723 This syntax looks ugly, but it's really nice when writing short scripts. Combined with one line function declarations: `def foo(n)= bar`, it can make an irb session much faster/shorter.