Method: BigDecimal#+@

Defined in:
bigdecimal.c

#+self

Returns self:

+BigDecimal(5)  # => 0.5e1
+BigDecimal(-5) # => -0.5e1

Returns:

  • (self)


1425
1426
1427
1428
1429
# File 'bigdecimal.c', line 1425

static VALUE
BigDecimal_uplus(VALUE self)
{
    return self;
}