Parent

Methods

Class/Module Index [+]

Quicksearch

Rabbit::Element::BlockQuote

Attributes

avatar[R]
cite[R]
title[R]

Public Class Methods

new(elems=[], prop={}) click to toggle source
# File lib/rabbit/element/block.rb, line 17
def initialize(elems=[], prop={})
  super(elems)
  %(cite title avatar).each do |name|
    instance_variable_set("@#{name}", prop[name])
  end
end

Public Instance Methods

to_html(generator) click to toggle source
# File lib/rabbit/element/block.rb, line 24
def to_html(generator)
  "<blockquote>#{super}</blockquote>"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.