summaryrefslogtreecommitdiff
path: root/lib/random
diff options
context:
space:
mode:
authorJeremy Evans <[email protected]>2023-12-11 17:34:52 -0800
committerJeremy Evans <[email protected]>2023-12-11 22:31:16 -0800
commitf49af3c969eb7ba9937514a229b49e5b7d91f0f1 (patch)
tree98a9d585363eca10a178fa07cef7332e820c050c /lib/random
parent9f0065a077f00a077f507461846234c52509ce90 (diff)
Make Dir#chdir never yield args, and return block return value
If no block is given, return 0 instead of nil for consistency with Dir.chdir and Dir.fchdir.
Diffstat (limited to 'lib/random')
0 files changed, 0 insertions, 0 deletions