Ruby Programming Language Question:
Explain about the defined operator?
Answer:
Define operator defines whether a passed expression is defined or not. If the expression is defined it returns the description string or null if the expression is not defined. If a variable is defined it gets initialized. If method_call is defined as true then method also gets defined. This is also the same case with super and yield.
Previous Question | Next Question |
Explain about methods? | Explain about operators in Ruby? |