method

const_get

v1_8_7_330 - Show latest stable - Class: Module
const_get(p1)
public

Returns the value of the named constant in mod.

Math.const_get(:PI)   #=> 3.14159265358979