Hello, world! Dec 4, 2022 def print_hello(name) puts "Hello, #{name}!" end print_hello('world') #=> prints 'Hello, world!' to STDOUT.