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

In Ruby, it explains about the defined operator?

1 Answers  


Explain about variables?

1 Answers  


Define ruby methods.

1 Answers  


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

1 Answers  


What are blocks and procs?

1 Answers  


Are numeric objects mutable in ruby?

1 Answers  


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

1 Answers  


How is object methods defined in ruby?

1 Answers  


How to use sql db or mysql db. Without defining it in the database.yml

1 Answers  


What is request.xhr?

1 Answers  


How to open a file in Ruby?

1 Answers  


Explain the difference between a single quote and double quote?

1 Answers  


Categories