# rd-eruby extension, add image file to rd/html def img(image, alt='', attributes='') File::open(image+'.html', 'w'){ |file| imagename = image file.print( "" ) } '<<< '+image end