Skip to content

Instantly share code, notes, and snippets.

require "benchmark"
module Enumerable
def j8r_join(separator, io)
first = true
each do |elem|
io << separator unless first
yield elem, io
first = false
end

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.19.1 x64 Electron: 1.6.9 OS: linux 4.12.6-1-ARCH Thrown From: 'crystal' package vundefined