added ruby style, removed editor type