ruby on rails hello world code example
Example 1: hello world in ruby
# Hello World Program in Ruby!
puts "Hello, World!"
Example 2: ruby hello world
print("hello world!")
# hello world!
# Hello World Program in Ruby!
puts "Hello, World!"
print("hello world!")
# hello world!