How can I access the [Formula] inreplace method inside a Cask?

Utils::Inreplace fails, because Utils is actually Cask::Utils as opposed to Formula::Utils.

I’d say the only way is to extend the code to make Formula and Cask share that util.

I’d say the only way is to extend the code to make Formula and Cask share that util.

@SMillerDev How would I do that… do you have example code?

Thanks!

Not really, as far as I know there’s nothing shared yet.