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