Re:A Docker Container Pattern – Compose Configuration
by jayjohnson on Tuesday April 12, 2016 @11:52PM
(#11485609)
So if I take a sample out of your Matsuri repo, how does this get changed as an "Overridables": https://github.com/shopappsio/matsuri/blob/f966480380b685d34...
[ Parent
| on HN ]
Re:A Docker Container Pattern – Compose Configuration
by hosh on Wednesday April 13, 2016 @12:33PM
(#11489700)
let() is define a memoized method. When you inherit or include that module into a new class, you can redefine that same let() and the new class will use the redefined method instead of what is inherited. You can do that with any of the let() that gets defined. This lets you use as much or as little of the shared code that you want.