Google

/*
 * Get the current operation (Imlib2::Op or Imlib2::Operation).
 *
 * Example:
 *   if ctx.op == Imlib2::Op::COPY
 *     puts 'copy operation'
 *   end
 *
 */
static VALUE ctx_op(VALUE self) {