In ruby we usually use 2 spaces as indentation, it seems that the editor you are using uses 8 spaces. Can you please correct the indentation?