Macro to inline a let statement:

qqf{2lvt}hy^f:l#nnvepN0q

To invoke afterwards, use @q.

It will inline let statements that are defined like:

let(:foo) { bar }

It only works if the statement is fully on one line, and the block is delimited with {/} rather than do/end.