Skip to content
This repository was archived by the owner on Jul 12, 2025. It is now read-only.

Fixes for sample app

Choose a tag to compare

@st0012 st0012 released this 11 Mar 16:23
· 732 commits to master since this release

The major fix is to make splat parameter returns an empty array instead of nil when no argument is passed.

def foo(*x)
  x
end

# before fix
foo #=> nil

# after fix
foo #=> []