Ruby warnings cleanup in cucumber step files

Bug: 49867
Change-Id: Iceb703513d79f76d3b763c379a98f066822372f6
Merge "Ruby warnings cleanup in cucumber step files"