Class Clio::Layout::Line
In: lib/clio/layout/line.rb
Parent: Layout

Draws a horizonal line.

Methods

new   to_s  

Attributes

fill  [R] 

Public Class methods

[Source]

# File lib/clio/layout/line.rb, line 10
      def initialize(fill='-')
        @fill = '-'
      end

Public Instance methods

[Source]

# File lib/clio/layout/line.rb, line 14
      def to_s
        fill * screen_width
      end

[Validate]