Method: TaskFormatter#initialize
- Defined in:
- lib/task_formatter.rb
#initialize(bar_size = 40, max_width = 94) ⇒ TaskFormatter
Returns a new instance of TaskFormatter.
5 6 7 8 9 |
# File 'lib/task_formatter.rb', line 5 def initialize( = 40, max_width = 94) @bar_size = @max_width = max_width @task = nil end |