Method: TextFormatter#initialize
- Defined in:
- lib/formatters/text_formatter.rb
#initialize ⇒ TextFormatter
Returns a new instance of TextFormatter.
16 17 18 19 20 |
# File 'lib/formatters/text_formatter.rb', line 16 def initialize if block_given? yield(self) end end |