letize

Convert variable assignments into before blocks

JustinAiken

36

0

0.1.0

MIT

GitHub

letize package

Screenshot

Example

# Turns this:
blah = create(:lasdflkaj)
@foo    = FactoryGirl.create(Blah)

# Into this:
let(:blah) { create(:lasdflkaj) }
let(:foo) { create(Blah) }