Basic RubyEstimated reading time: 1 minute
# Single line comments =begin This is multi line comment with begin and end =end
print / puts
putsprint with a new line
puts 'single qoute string' puts "Double qoute string"
- fixed object id
name = :'mostafa' name2 = 'mostafa' puts name.object_id puts name2.object_id