An article introducing Ruby metaprogramming fundamentals, in source code form.
Stars
17
Forks
1
Watchers
17
Open Issues
0
Overall repository health assessment
No package.json found
This might not be a Node.js project
15
commits
Finish the reformatting that I thought I'd done yesterday.
eca9a33View on GitHubRewrite opening paragraph since I've added scope and some reformatting.
80e2164View on GitHubAdd a pretty important section showing inherited class methods and their use as macros.
8a03ac5View on GitHubTiny tweaks before introducing a section on inheritance of class methods.
2b48503View on GitHubAdd a warning paragraph to clarify that anything.singleton_class.superclass is a dirty liar.
158f666View on GitHubGet rid of all the Test::Unit stuff. Next up need to restructure the examples so things read right when you do "spec -f specdoc metaprogramming_introduction.rb"
2cb3de9View on GitHubRemove some HTML I hadn't noticed leftover from when this was a blog post.
2e506e3View on GitHubRemove a couple custom assertions I'm no longer using.
813fcb1View on GitHubThe first chunk of translation to Rspec, done on MetroNorth train rides a few months ago.
5231c0aView on GitHubThis is the originally published version of A Ruby Metaprogramming Intoduction.
97e4e0cView on GitHub