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


Do you know what is the defined operator?



Do you know what is the defined operator?..

Answer / Hardwari Lal

Yes, in Ruby, the `defined?` method returns one of three strings ('nil', 'undefined method', or 'method') that indicate the definition state of an object or method. For example: `def hello; end; defined?(:hello) # => "method"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

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

1 Answers  


What are ruby variables.

1 Answers  


Difference between nil and false in ruby?

1 Answers  


Can you please explain what is the difference between string and symbol?

1 Answers  


Explain about the defined operator in ruby?

1 Answers  


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

1 Answers  


Name some operators used in ruby.

1 Answers  


How is an iterator handled in ruby?

1 Answers  


What are the case statement in ruby?

1 Answers  


What is ruby software and where and when it is usefull.

1 Answers  


How does ruby deal with extremely large numbers?

1 Answers  


What are the loops in ruby?

1 Answers  


Categories