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

Make sure constants get initialized only once in spec helper (wikitext, 767f54b)

Created 2/5/2008, updated 3/5/2024
  • snippets

This is necessary to prevent warnings about "already initialized constant" when running the specs under autotest.

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

← Replace many rb_str_append calls with rb_str_cat (wikitext, e116b3f)
Add explicit dependency information to Makefile (wikitext, 0134138) →

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).