This post originated from an RSS feed registered with Ruby Buzz
by Eigen Class.
Original Post: A blog quine and deferred type checks in Ruby
Feed Title: Eigenclass
Feed URL: http://feeds.feedburner.com/eigenclass
Feed Description: Ruby stuff --- trying to stay away from triviality.
It took me some time to realize that my blogging could benefit from some
automation. Indeed, I'm often doing some sort of literate programming to show
the internals of some Ruby voodoo, using my
xmp decorator to display
execution results, which means that I cannot use something like WEB (or a
language-independent tool like noweb).
This meta-entry shows how I usually blog, using a sort of "reverse|ruby
weave" script I hacked in 15 (?) minutes, shown below. It extracts the code snippets so that I can scp them to the webserver, where they get prettified by my modified attach.rb plugin for hiki. The following (~90s) movie
shows what I did to create this entry: