Method: CLI::UI::Frame::FrameStyle#start

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

#start(text, color:) ⇒ Object

This method is abstract.

Draws the “Open” line for this 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)


67
68
69
# File 'lib/cli/ui/frame/frame_style.rb', line 67

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