You are here |
tenderlovemaking.com | ||
| | | |
zverok.space
|
|
| | | | Just a quick reference post. | |
| | | |
makandracards.com
|
|
| | | | Yesterday I stumbled across a talk in which the guy mentioned module sub-classing. I was curious what you can do with it and found his blog post with a cool example. It allows you to inject some state into the module you are including elsewhere. Check it out! class AttributeAccessor < Module de... | |
| | | |
thepugautomatic.com
|
|
| | | | I recently discovered the Ruby Module Builder pattern. It lets you pass in arguments to dynamically generate a module at include time: class Greeter < Module def initialize(name)... | |
| | | |
hg.sr.ht
|
|
| |