method

try_const

ruby latest stable - Class: Object

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

try_const(const, headers = nil, opt = "", &b)
public

Returns whether or not the Constant const is defined.

See also have_const