Updated ruby style to match ruby style guide standards