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



Explain Ruby module?..

Answer / Rekha Rani Sonker

In Ruby, a module is a namespace that holds related methods and constants. Modules can be included in classes to add functionality or mixed into other modules using `include` or `extend`. Modules can also be used independently or combined with each other. By organizing code into modules, you can promote code reuse, avoid name conflicts, and increase the modularity of your application.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

What is sysread method in Ruby?

1 Answers  


Explain until loop in ruby.

1 Answers  


What are the data types in ruby?

1 Answers  


What is the pattern matching operator in ruby?

1 Answers  


Is ruby a statically typed or a dynamically typed language?

1 Answers  


Do you know when self.up and self.down method is used?

1 Answers  


What is ruby class?

1 Answers  


How is visibility of methods changed in ruby?

1 Answers  


Tell me what is the difference between active support's “hashwithindifferent” and ruby's “hash” ?

1 Answers  


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

1 Answers  


Does hash use “ #==” or “#eql?” To compare hash keys?

1 Answers  


Explain about class libraries in ruby?

1 Answers  


Categories