= private = protected
The exact documentation you were looking for could not be found. Here is the best guess.
imag()
Returns zero.
static VALUE numeric_imag(VALUE self) { return INT2FIX(0); }