M Mr. Dubey • 100.28K Points Coach Bookmark Embed Report View In MB-Short Q. In Ruby, what is the purpose of the module_function keyword? (A) It ensures that the module cannot be included in other modules or classes (B) It makes the specified methods accessible both as instance methods and module methods (C) It converts the specified methods into private methods (D) It ensures that the module cannot be included in other modules or classes Correct Answer - Option(B) Views: 86 Filed under category Ruby Share
Discusssion
Login to discuss.