add enhanced ruby mode