• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Don't let FileUtils.cd swallow the return value (snippets, 5652285)

Created 12/28/2007, updated 3/5/2024
  • snippets

Explicitly return the value from the block (the block itself) will evaluate to nil.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Remove deprecated method call in NSScanner lexing utilities (WOCommon, 18702b0)
Use abbreviated SHA-1 hashes in nightlies (snippets, 3d6f550) →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).