Method: CLI::UI::Frame::FrameStyle#divider

Defined in:
lib/cli/ui/frame/frame_style.rb

#divider(text, color:) ⇒ Object

This method is abstract.

Draws a “divider” line for the current frame style

Attributes

  • text - (required) the text/title to output in the frame

Options

  • :color - (required) The color of the frame.

: (String, color: CLI::UI::Color) -> String

Raises:

  • (NotImplementedError)


100
101
102
# File 'lib/cli/ui/frame/frame_style.rb', line 100

def divider(text, color:)
  raise(NotImplementedError)
end