lib/glyph_macros.rb
1 2 3 4 5 6 7 8 9 10 11 12
require 'rubygems' require 'glyph' Glyph.class_eval do macro :article do interpret %{textile[ #@value ]} end end