Class: RubyCode::Views::Cli::InterruptMessage

Inherits:
Object
  • Object
show all
Defined in:
lib/rubycode/views/cli/interrupt_message.rb

Overview

Builds interrupt notification message

Class Method Summary collapse

Class Method Details

.build ⇒ Object



10
11
12
13
# File 'lib/rubycode/views/cli/interrupt_message.rb', line 10

def self.build
  pastel = Pastel.new
  "\n#{pastel.yellow("[INTERRUPTED]")} Type 'exit' to quit or continue chatting."
end