Home / MCQ Bank / Computer
Computer Modules And Mixins In Ruby

What does the include keyword do in Ruby?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • Mixes in methods from a module into a class

Related Computer Questions

The branch of accounting which analyses and interprets the overall data is ________ Which of the following columns is(are) are required in a table? What will be the output of the following C code? #include<stdio.h> static inline int max(int a, int b) { return a > b ? a : b; } main() { int m; m=max(-6,-5); printf("%d",m); } What will be the output of the following C++ code? #include<iostream> using namespace std; int main() { int a = 5; auto check = [](int x) { if(x == 0) return false; else return true; }; cout<<check(a)<<endl; return 0; } Which of the following methods must empty the list of subpaths so that the context once again has zero subpaths?