SafeStringValue

M

Mark Volkmann

I can't find any documentation that explains what this Ruby C
function does. Do you know?
 
T

Timothy Hunter

Mark said:
I can't find any documentation that explains what this Ruby C function
does. Do you know?
It's a macro in ruby.h. Looks like it a) ensures that the VALUE is a
String object (or can be converted using to_str) and b) raises an
exception if $SAFE> 0 and the string is tainted.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,237
Messages
2,571,189
Members
47,823
Latest member
eipamiri

Latest Threads

Top