Method: StatusBoxView#to_s
- Defined in:
- lib/views.rb
#to_s ⇒ Object
70 71 72 73 74 75 |
# File 'lib/views.rb', line 70 def to_s puts '-' * SCREEN_WIDTH puts num_lines = @statuses.length @statuses.last(8).fill(num_lines, 8 - num_lines) { '' } end |