M Mr. Dubey π Coach β 104.48K Points π Ruby Q. Which method is used to check if a variable is nil in Ruby? (A) .is_nil? (B) .nil? (C) .empty? (D) .null? ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (B) .nil?