GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - duelinmarkers/metaprogramming_introduction: An article introducing Ruby metaprogramming fundamentals, in source code form.

BranchesTags
Open more actions menu

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
README
README
 
 
metaprogramming_introduction.rb
metaprogramming_introduction.rb
 
 

Repository files navigation

A Ruby Metaprogramming Introduction is an article in Ruby source code form.

Read and run metaprogramming_introduction.rb. 

  ruby metaprogramming_introduction.rb

or if you want to make it output-heavy

  spec -f specdoc metaprogramming_introduction.rb

(The reading is the point. The running is only there to either reassure you
that what I tell you is true, or show you that it's not, in which case I hope
you'll let me know what version of Ruby you're running and other platformey
goodies.)

A version of this was originally published on the Practical Ruby blog. A while
back though I started updating it to be more useful and translating it to use
Rspec instead of the funny little Test::Unit extension (since Rspec reads just
as well but is more likely to be familiar to a reader).

Once it's all good and clever and readable I may put it out as a nicely
readable blog post again, but for now it'll just live here in Git. Chances are
it reads better in your editor of choice than on a web page anyway.

The originally published version can be viewed on GitHub at this URL:

http://github.com/duelinmarkers/metaprogramming_introduction/tree/9cd27dd8571b4428ef791ffa53646f4dd799b573




--------
Copyright John D. Hume 2008
Released under a Creative Commons Attribution-Share Alike 3.0 license
http://creativecommons.org/licenses/by-sa/3.0/

About

An article introducing Ruby metaprogramming fundamentals, in source code form.

Resources

Readme
Activity

Stars

17 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.