Add enhanced ruby mode