Method: CLI::UI::Frame::FrameStyle#close

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

#close(text, color:, right_text: nil) ⇒ Object

This method is abstract.

Draws the “Close” line for this frame style

Attributes

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

Options

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

  • :right_text - Text to print at the right of the line. Defaults to nil

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

Raises:

  • (NotImplementedError)


84
85
86
# File 'lib/cli/ui/frame/frame_style.rb', line 84

def close(text, color:, right_text: nil)
  raise(NotImplementedError)
end