Module: Kernel
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#BigDecimal(*args) ⇒ Object
See also BigDecimal.new.
Instance Method Details
#BigDecimal(*args) ⇒ Object
See also BigDecimal.new
2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 |
# File 'bigdecimal.c', line 2565
static VALUE
BigDecimal_global_new(int argc, VALUE *argv, VALUE self)
{
ENTER(1);
Real *pv;
GUARD_OBJ(pv, BigDecimal_new(argc, argv));
if (ToValue(pv)) pv = VpCopy(NULL, pv);
pv->obj = TypedData_Wrap_Struct(rb_cBigDecimal, &BigDecimal_data_type, pv);
return pv->obj;
}
|