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

Do you know how ruby looks up a method to invoke?

1 Answers  


Where does a scope change in a ruby program?

1 Answers  


Explain about interpolation?

1 Answers  


what is the purpose of the rakefile available in the demo directory in ruby?

1 Answers  


How will you rename and delete a file in Ruby?

1 Answers  


Explain ruby strings.

1 Answers  


what is the syntax for Ruby collect Iterator?

1 Answers  


Tell me what is the role of sub-directory app/controllers and app/helpers?

1 Answers  


How to open a file in Ruby?

1 Answers  


Explain about operators in Ruby?

1 Answers  


Overview of ruby programming language?

1 Answers  


What does ruby name refers to?

1 Answers  


Categories