Too small for function, too big to be un-DRY 1.0

Operating systemsOS : Windows / Linux
Program licensingScript Licensing : Freeware
CreatedCreated : Jun 27, 2007
Size downloadDownloads : 1
Program licensing
Thank you for voting...

I wanted to execute the same block of code twice in ...

I wanted to execute the same block of code twice in the same procedure, but the block itself I did not feel warranted its own function (this was in a Rails test). So here's a neat trick to keep it DRY.

Too small for function, too big to be un-DRY 1.0 scripting tags: function, un-dry ruby, block, rails, ruby function, too small for function, trick, ruby snippets, too big un-dry, test. What is new in Too small for function, too big to be un-DRY 1.0 software script? - Unable to find Too small for function, too big to be un-DRY 1.0 news. What is improvements are expecting? Newly-made Too small for function, too big to be un-DRY 1.1 will be downloaded from here. You may download directly. Please write the reviews of the Too small for function, too big to be un-DRY. License limitations are unspecified.