Quantcast
Channel: refactoring - avdi.codes
Viewing all articles
Browse latest Browse all 8

Faking Method Inputs with OpenStruct feat. Kerri Miller

$
0
0

During my RubyTapas script review with upcoming guest chef Kerri Miller, we spent some time refactoring a method toward lower complexity. In the process we needed to isolate it from its dependencies, and we used Ruby’s OpenStruct library to quickly accomplish it.

This is video is an extract from a much longer meeting recording. The full script review (over an hour of video) is available on my Patreon. If you’re interested in the editing process that goes into my technical screencasts, check it out!

The post Faking Method Inputs with OpenStruct feat. Kerri Miller first appeared on avdi.codes.


Viewing all articles
Browse latest Browse all 8

Trending Articles