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, options = {})
  @title = title
  @attributes = options.fetch(:attributes, AttributeList.new)
  @lines = options.fetch(:lines, [])
  @delimiter_char = "_"
  @delimiter_len = options.fetch(:delimiter_len, 4)
end