fork download
  1. module M1
  2. def m1_m
  3. p "m1_m"
  4. end
  5. end
  6. module M2
  7. def m2_m
  8. p "m2_m"
  9. end
  10. end
  11. class C
  12. include M1, M2
  13. end
  14. c = C.new()
  15. c.m1_m()
  16. c.m2_m()
Success #stdin #stdout 0.05s 9664KB
stdin
Standard input is empty
stdout
"m1_m"
"m2_m"