The equal operator "=" is used in Ruby as an assignment operator. This holds true for both variables and objects, because in Ruby, strings, floats, and integers are all objects, and you're always assigning objects.
Assignment operations can be divided into two categories: The value of the second operand is saved in the object defined by the first operand in a simple assignment. Before storing the result, a compound assignment performs an arithmetic, shift, or bitwise operation.
Share With Friend
Have a friend to whom you would want to share this course?
Download LearnVern App
Download the app
Learn anywhere on the go
Get regular updates about your enrolled or new courses
Share content with your friends
Evaluate your progress through practice tests
No internet connection needed
Enroll for the webinar and join at the time of the webinar from anywhere
Enjoying this course!
All the Courses on Learnvern are Free! So Register/Sign in to
have Access all the Courses and Videos.