add ruby_engine

A better interface to get the current Ruby engine