Explore >> Select a destination


You are here

tenderlovemaking.com
| | thepugautomatic.com
12.4 parsecs away

Travel
| | 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)...
| | zverok.space
7.1 parsecs away

Travel
| | Just a quick reference post.
| | makandracards.com
9.5 parsecs away

Travel
| | 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...
| | zverok.space
44.2 parsecs away

Travel
| I am Ukrainian Rubyist from Kharkiv. There is still war in my country: a full-scale invasion that Russia started on Feb 24, continuing its 8-year-long hybr...