Answers

Question and Answer:

  Home  Ruby

⟩ Explain about the defined operator?

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.

 193 views

More Questions for you: