Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::StreamUI#say
say(statement = "")
lib/rubygems/user_interaction.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/user_interaction.rb, line 325
def say(statement = "")
@outs.puts statement
end
Display a statement.
See also
#require_io_console
#terminate_interaction
#progress_reporter
#tty?
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0