One Small Flask of Metaprogramming Elixir #
We could make metaprogramming easier for the common streetsfolk. I’m not giving a triumphant answer here. I’m just wondering what else you knobbly ducks out there have done like this.
So you have this class which defines a structure for scripts within a larger program (MouseHole in this case):
class UserScript
attr_accessor :title, :description, :version, :mount,
:register_uri, :rewrite
def initialize
@register_uri, @rewrite = [], {}
end
end
Continue to full post. (309 words)

