Guest User

Untitled

a guest
Feb 18th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. > require 'singleton'
  2. => true
  3.  
  4. > class A; include Singleton; end
  5. => A
  6.  
  7. > one = A.instance
  8. => #<A:0x8457290>
  9.  
  10. > class A; include Singleton; end
  11. => A
  12.  
  13. > two = A.instance
  14. => #<A:0x844bd14>
  15.  
  16. > one == two
  17. => false
Add Comment
Please, Sign In to add comment