Class: Object

Inherits:
BasicObject
Defined in:
lib/format_output/bullets.rb

Overview

Support for displaying data formatted neatly.

Instance Method Summary collapse

Instance Method Details

#format_output_bullet_detail(options = {}) ⇒ Object

Create a bullet point description from this object. Returns: An array of strings.



51
52
53
# File 'lib/format_output/bullets.rb', line 51

def format_output_bullet_detail(options = {})
  self.to_s.format_output_bullet_detail(options)
end

#format_output_prepare_bullet_detailObject

Get data ready for being in a bullet point.



56
57
58
# File 'lib/format_output/bullets.rb', line 56

def format_output_prepare_bullet_detail
  ["*", self]
end