method
say
v2_6_3 -
Show latest stable
- Class:
Bundler::Thor::Shell::Basic
say(message = "", color = nil, force_new_line = (message.to_s !~ /( |\\t)\\Z/))public
Say (print) something to the user. If the sentence ends with a whitespace or tab character, a new line is not appended (print + flush). Otherwise are passed straight to puts (behavior got from Highline).
Example
say(“I know you knew that.”)