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


How ruby looks up a method to invoke?



How ruby looks up a method to invoke?..

Answer / Jolly

Ruby uses dynamic method lookup where the method is resolved at runtime. It first checks for the method in the object's class, then in its parent classes (until Object), and if the method is not found, it raises NoMethodError.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

What are Ruby iterators?

1 Answers  


Is ruby whitespace-dependent?

1 Answers  


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

1 Answers  


What function converts all html special symbols to html entities in ruby?

1 Answers  


How is class methods defined in ruby?

1 Answers  


Is ruby supports single inheritance/ multiple inheritance or both?

1 Answers  


What is the difference between ruby 1.9 and ruby 2.0?

1 Answers  


As you know ruby provides four types of variables. List them and provide a brief explanation for each?

1 Answers  


Tell me how you define instance variable, global variable and class variable in ruby?

1 Answers  


Explain while loop in ruby.

1 Answers  


Can you call a private method outside a ruby class using its object?

1 Answers  


In Ruby, it explains about the defined operator?

1 Answers  


Categories