class Rabbit::Element::PreformattedBlock
Public Instance Methods
Source
# File lib/rabbit/element/preformatted.rb, line 10 def text super.gsub(/^/, " ") end
Calls superclass method
Source
# File lib/rabbit/element/preformatted.rb, line 18 def to_html(generator) "<pre#{attributes}>#{super}</pre>" end