require 'wparser/parse' module Blocks class Blockquote < Parse BLOCK_TABLE = { ">>" => '
', "<<" => '
', } def self.parse line @result = line.gsub(/(^>>)|(^<<)/){|s| BLOCK_TABLE[s]} super end end end