Method: Vedeu::Borders::Refresh#top_border

Defined in:
lib/vedeu/borders/refresh.rb

#top_borderArray<void> (private)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Array<void>)


177
178
179
180
181
# File 'lib/vedeu/borders/refresh.rb', line 177

def top_border
  build_collection(bordered_width) do |ix|
    top_horizontal.dup.tap { |cell| cell.position = [y, bx + ix] }
  end
end