Skip to content

Instantly share code, notes, and snippets.

View dukaev's full-sized avatar
💭
👨‍💻🔥

Aslan Dukaev dukaev

💭
👨‍💻🔥
View GitHub Profile
irb(main):001:0> A = Module.new
=> A
irb(main):002:0> B = Module.new
=> B
irb(main):003:0> C = Class.new
=> C
irb(main):004:0> D = Class.new(C) { include A, B }
=> D
irb(main):005:0> D < C
=> true