Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What does ruby name refers to?



What does ruby name refers to?..

Answer / Gourab Kumar

To freeze an object in Ruby, you can use the Object#freeze method. Freezing an object makes it immutable and prevents any modifications to its properties. Here's a simple example: obj = {}.freeze; obj[:key] = 'value'; raises an error because obj is frozen.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

What is ruby object?

1 Answers  


Explain the difference between a single quote and double quote?

1 Answers  


Do you know about dig, float and max?

1 Answers  


Is ruby a strongly typed or a weakly typed language?

1 Answers  


How to open a file in Ruby?

1 Answers  


How does ruby deal with extremely large numbers?

1 Answers  


What are the key features of ruby?

1 Answers  


What is the use of load and require in ruby?

1 Answers  


How is visibility of methods changed in ruby?

1 Answers  


Tell me what is the difference between ruby 1.9 and ruby 2.0?

1 Answers  


Mention what is the command to create a migration?

1 Answers  


In how many ways items can be removed from array in Ruby?

1 Answers  


Categories