Hello World in a function



examples/functions/hello_world.rb
def hello_world
  puts "Hello World!"
end

puts "Before"
hello_world
puts "After"

Before
Hello World!
After