module Pricecut module Elements class Strong < Element def output! p "**"; yield_children; p "**" end end # <b> tag is the same as <strong> class B < Strong; end end end