Method: Array#format_output_raw_bullets

Defined in:
lib/format_output/bullets.rb

#format_output_raw_bullets(options = {}) ⇒ Object

Convert the array to strings with bullet points. Returns: An array of strings.



20
21
22
23
24
25
26
27
28
# File 'lib/format_output/bullets.rb', line 20

def format_output_raw_bullets(options = {})
  return [""] if empty?

  builder = FormatOutput::BulletPointBuilder.new(options)

  each {|pair| builder.add(*pair.format_output_prepare_bullet_detail)}

  builder.render
end