Check out example codes for "puts ruby example". It will help you in understanding the concepts better.

Code Example 1

puts "This is used to write something"

Code Example 2

puts "hello world"

Code Example 3

puts ""

Learn ReactJs, React Native from akashmittal.com