A Admin • 833K Points Coach Q. Which of the following is NOT a valid method definition syntax in Ruby? (A) def method_name; end (B) define method_name; end (C) define_method(:method_name) { }; end (D) def self.method_name; end Correct Answer - Option(B) Views: 16 Filed under category Ruby Hashtags: Share Manage Tags
Discusssion
Login to discuss.