Method: Coradoc::Element::Block::Quote#initialize
- Defined in:
- lib/coradoc/element/block/quote.rb
#initialize(title, options = {}) ⇒ Quote
Returns a new instance of Quote.
5 6 7 8 9 10 11 |
# File 'lib/coradoc/element/block/quote.rb', line 5 def initialize(title, = {}) @title = title @attributes = .fetch(:attributes, AttributeList.new) @lines = .fetch(:lines, []) @delimiter_char = "_" @delimiter_len = .fetch(:delimiter_len, 4) end |