# First of all: Everything inside ruby is an object.
# print something using "print". "puts" does
# that too but it also adds an "\n" to the end.
print "Hello World!\n"
print "Enter a Value: "
first_num = gets.to_i
# you can of course print without .to_s
# puts first_num
print "Enter Another Value: "
second_num = gets.to_i
puts first_num.to_s + " + " + second_num.to_s + " = " +
(first_num + second_num).to_s
# So, "gets" gets values from the screen input,
# and "puts" puts them on the screen.
# While "to_i" convert values to integer
# "to_s" convert values to a string
# let's explore the object inside each type
puts 1.class
puts 1.33.class
puts "What?".class
# Constant
CONSTAT_TEST = 1.88
puts CONSTAT_TEST.to_s
# You can include ruby files as below
load "loadme.rb"
=begin
This is a multi-line comment 
=end
# Interpolation
puts "#{4 + 5}" # this will print 9