End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
BigDecimal.interpret_loosely
interpret_loosely(p1)
ext/bigdecimal/bigdecimal.c
View on GitHub ↗
static VALUE
BigDecimal_s_interpret_loosely(VALUE klass, VALUE str)
{
char const *c_str = StringValueCStr(str);
Real *vp = VpNewRbClass(0, c_str, klass, false, true);
if (!vp)
return Qnil;
else
return VpCheckGetValue(vp);
}
No documentation available