daily pastebin goal
69%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class C
  2.   def foo
  3.     puts "foo"
  4.   end
  5. end
  6.  
  7. module D
  8.   def bar
  9.     foo
  10.   end
  11. end
  12.  
  13. class A < C
  14.   include D
  15. end
  16.  
  17. class B < C
  18.   include D
  19. end
  20.  
  21. A.new.bar
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top