Method: CLI::UI::Frame.frame_style=

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

.frame_style=(frame_style) ⇒ Object

Set the default frame style.

Raises ArgumentError if frame_style is not valid

Attributes

  • symbol or FrameStyle - the default frame style to use for frames

: (frame_stylable frame_style) -> void



29
30
31
# File 'lib/cli/ui/frame.rb', line 29

def frame_style=(frame_style)
  @frame_style = CLI::UI.resolve_style(frame_style)
end