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...


difference between activesupport's “hashwithindifferentaccess” and ruby's “hash”?



difference between activesupport's “hashwithindifferentaccess” and ruby's &ldq..

Answer / Mintu Ahmad

"ActiveSupport's HashWithIndifferentAccess is a subclass of Ruby's standard Hash that allows you to use both symbols and strings as keys interchangeably. By contrast, Ruby's standard Hash uses only symbols as keys."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

difference between activesupport's “hashwithindifferentaccess” and ruby's “hash”?

1 Answers  


Are numeric objects mutable in ruby?

1 Answers  


How symbol is different from variables?

1 Answers  


Explain about garbage collection feature of ruby?

1 Answers  


Explain Ruby if-else statement?

1 Answers  


what the difference is between false and nil in Ruby?

1 Answers  


Explain about environment variables present in ruby?

1 Answers  


Explain about interpolation?

1 Answers  


Explain ampersand parameter (&block) in Ruby?

1 Answers  


Explain about variables?

1 Answers  


Explain about portability?

1 Answers  


What are freezing string in Ruby?

1 Answers  


Categories