Sha256: 2556b26e558f37785e48e346a9a6507a9ad9d97361f66a3b41453f5519f186c8
Contents?: true
Size: 476 Bytes
Versions: 7
Compression:
Stored size: 476 Bytes
Contents
require 'rabbit/element/text-container-element' require 'rabbit/element/block-element' module Rabbit module Element class PreformattedBlock include TextContainerElement include BlockHorizontalCentering def text super.gsub(/^/, " ") end def to_rd text end def to_html(generator) "<pre>#{super}</pre>" end end class PreformattedText include TextContainerElement end end end
Version data entries
7 entries across 7 versions & 1 rubygems