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


In Ruby, it explains about the defined operator?



In Ruby, it explains about the defined operator?..

Answer / Jha Nileshkumar Kripanath

The defined operator in Ruby checks whether a method or variable has been initialized. It returns three values: nil (if the variable is undefined), 'nil' (if the variable is defined but empty), and the name of the variable or method (if it is defined and not empty).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

What does ruby name refers to?

1 Answers  


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

1 Answers  


Explain how can we define ruby regular expressions?

1 Answers  


How to access Ruby strings elements in an application?

1 Answers  


In how many ways you can compare Ruby string?

1 Answers  


Can method names be capitalized?

1 Answers  


How would you freeze an object in ruby? Can you provide a simple example?

1 Answers  


What are the ruby variables?

1 Answers  


Are numeric objects mutable in ruby?

1 Answers  


Explain about the defined operator in ruby?

1 Answers  


What are the object-oriented programming features supported by ruby?

1 Answers  


What are ruby blocks.

1 Answers  


Categories