end end end class GreetingA def hi p 'hi' end include EnergeticGreeting end GreetingA.new.hi # => "٩(ˊᗜˋ*)و" module DepressedGreeting def hi p 'ʢ◞‸◟ʣ' end end class GreetingB def hi p 'hi' end include DepressedGreeting end GreetingB.new.hi # => "hi" ʮਅͷϝιουఆٛʯ
end end end class GreetingA def hi p 'hi' end include EnergeticGreeting end GreetingA.new.hi # => "٩(ˊᗜˋ*)و" ʮਅͷϝιουఆٛʯ module EnergeticGreeting extend ActiveSupport::Concern included do def hi p '٩(ˊᗜˋ*)و' end end end class GreetingA2 include EnergeticGreeting def hi p 'hi' end end GreetingA2.new.hi # => "hi"
end end end class GreetingA def hi p 'hi' end include EnergeticGreeting end GreetingA.new.hi # => "٩(ˊᗜˋ*)و" ʮਅͷϝιουఆٛʯ module EnergeticGreeting extend ActiveSupport::Concern included do def hi p '٩(ˊᗜˋ*)و' end end end class GreetingA2 include EnergeticGreeting def hi p 'hi' end end GreetingA2.new.hi # => "hi"