Gem lock
Reformat code snippet style