class Rabbit::Element::DescriptionContent

Public Instance Methods

text() click to toggle source
Calls superclass method Rabbit::Element::ContainerElement#text
# File lib/rabbit/element/description-list.rb, line 46
def text
  super.gsub(/^/, "  ")
end
to_html(generator) click to toggle source
# File lib/rabbit/element/description-list.rb, line 54
def to_html(generator)
  "<dd>\n#{super}\n</dd>"
end
to_rd() click to toggle source
# File lib/rabbit/element/description-list.rb, line 50
def to_rd
  text.gsub(/^/, " ")
end