Answer Posted / 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 View All Answers