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 |
In Ruby, it explains about the defined operator?
Explain about variables?
Define ruby methods.
Tell me what is the difference between ruby 1.9 and ruby 2.0?
What are blocks and procs?
Are numeric objects mutable in ruby?
Do you know how ruby looks up a method to invoke?
How is object methods defined in ruby?
How to use sql db or mysql db. Without defining it in the database.yml
What is request.xhr?
How to open a file in Ruby?
Explain the difference between a single quote and double quote?