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 Interpolation in Ruby?

1 Answers  


Tell me what is the difference between ruby 1.9 and ruby 2.0?

1 Answers  


Explain Ruby if-else statement?

1 Answers  


Explain about ruby code blocks?

1 Answers  


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

1 Answers  


What are the ruby variables?

1 Answers  


Tell me an array [1,2,34,5,6,7,8,9], product it using a method?

1 Answers  


Do you know how ruby looks up a method to invoke?

1 Answers  


Tell me what is the difference between calling super() and super call?

1 Answers  


Why Ruby is known as a language of flexibility?

1 Answers  


Explain about the defined operator?

1 Answers  


Explain until loop in ruby.

1 Answers  


Categories