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 module mixins in Ruby?



Explain module mixins in Ruby?..

Answer / Havaladar Yadav

"Module mixins in Ruby allow modules to be included in classes and extend their functionality. This is done using the include method.nnWhen a module is included into a class, it becomes part of that class and can be accessed as if it were written directly inside the class definition."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

What are the data types in ruby?

1 Answers  


Can method names be capitalized?

1 Answers  


what is the difference between a gem and a plugin in Ruby?

1 Answers  


How is visibility of methods changed in ruby?

1 Answers  


what is the difference between put and putc statement?

1 Answers  


Why Ruby is known as a language of flexibility?

1 Answers  


What are the three levels of method access control for classes and what do they signify? What do they imply about the method?

1 Answers  


Explain the difference in scope for these two variables: @@name and @name?

1 Answers  


Explain about the programming language ruby?

1 Answers  


Explain about Float, Dig and Max?

1 Answers  


Explain about the command line options?

1 Answers  


What are the different uses of ruby modules?

1 Answers  


Categories