A Admin • 828.03K Points Coach 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: 10 Filed under category Ruby Hashtags: Share Manage Tags
Discusssion
Login to discuss.