defstr converts text to a C string literal that parses (by a C compiler) to the original text, and creates a C macro that defines it as a constant. The liternal preserves the original text's structure (line breaks, paragraphs, etc). defstr can be used as a tool for C/C++ code generation.

Required Ruby Version

None

Authors

dragonmeteor

Versions

  1. 0.1.1 December 06, 2008* (6 KB)
  2. 0.1.0 December 06, 2008* (6 KB)

SHA 256 checksum