class Rabbit::Element::HeadLine

Public Instance Methods

draw_elements(canvas, x, y, w, h, simulation) click to toggle source
Calls superclass method
# File lib/rabbit/element/slide.rb, line 41
def draw_elements(canvas, x, y, w, h, simulation)
  return [x, y, w, h] if slide.hide_title?
  super
end
to_html(generator) click to toggle source
# File lib/rabbit/element/slide.rb, line 37
def to_html(generator)
  "<h1>#{super}</h1>"
end
to_rd() click to toggle source
# File lib/rabbit/element/slide.rb, line 33
def to_rd
  "= #{text}"
end