Converted tabs to spaces

Converted tabs to 2 spaces in new state.rb file.