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


Explain the role of modules and mixins in ruby?



Explain the role of modules and mixins in ruby?..

Answer / Swati Chandra

The defined? operator in Ruby checks if a method, variable, or class exists. If it does, it returns the string 'method', 'variable', or 'class'. If not, it returns nil.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

What is mvc and why do we use it?

1 Answers  


Is ruby a statically typed or a dynamically typed language?

1 Answers  


What are Ruby iterators?

1 Answers  


what is the difference extend and include?

1 Answers  


How ruby looks up a method to invoke?

1 Answers  


Explain about interpolation?

1 Answers  


what the difference is between false and nil in Ruby?

1 Answers  


Explain next statement in ruby.

1 Answers  


Explain the garbage collection feature of ruby?

1 Answers  


In how many ways items can be added in an array in Ruby?

1 Answers  


Explain about environment variables present in ruby?

1 Answers  


Tell me how would you freeze an object in ruby? Can you provide a simple example?

1 Answers  


Categories