Cucumber for Ruby. Index used. Code cleanup