Use guard clause
Override the same word
Modify the WordQuery to using OpenStruct
Make up the 1 line conding
Change the order of gem
Use require_relative