hello world ruby 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!
Example 3: ruby hello
puts "What is your name?"
name = gets.chop
puts "Hello, #{name}!"
Example 4: hello world ruby
echo "# college_Pizza" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/not-ivan/college_Pizza.git
git push -u origin main