class TodoTxtViewer::HelpUi
Constants
- CONTENT
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/todo_txt_viewer/help_ui.rb, line 21 def initialize super headers: ['Help'] key_width = CONTENT.keys.map(&:size).max @lines = CONTENT.map {|k, v| "#{k.ljust key_width} = #{v}" } end