Class: Lumos::Formatters::Left
- Defined in:
- lib/lumos/formatters/left.rb
Instance Attribute Summary
Attributes inherited from Base
#delimiter, #length, #message, #padding
Instance Method Summary collapse
Methods inherited from Base
Methods included from BaseHorizontal
#horizontal_line, #horizontal_padding, #horizontal_pattern, #horizontal_result
Methods included from BaseChopper
#chopped_message, #chopped_message_length, #chopping_last_line?, #chopping_line, #chopping_padding, #iterate_chopped_lines
Constructor Details
This class inherits a constructor from Lumos::Formatters::Base
Instance Method Details
#result ⇒ Object
4 5 6 7 8 9 |
# File 'lib/lumos/formatters/left.rb', line 4 def result iterate_chopped_lines do |line| "#{delimiter}#{vertical_padding}#{line}"\ "#{chopping_line line}" end end |