From: Ricky Ng Date: 2013-01-18T17:49:47+09:00 Subject: Module including other module. --f46d044272486107f104d38c31ee Content-Type: text/plain; charset=ISO-8859-1 Simplified Code: https://gist.github.com/4563204 I am trying to understand why when I reopen a module A and 'include' a module B, class Klass that has already included module A do not gain the new methods from module B. When I do reopen module A and add a new method, class Klass that has already included module A gain these methods. What is the difference between reopening a module and adding a method and including another module? -- Incoherently, Ricky Ng --f46d044272486107f104d38c31ee Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Simplified Code:=A0https://gist.github.com/4563204

I am trying to = understand why when I reopen a module A and 'include' a module B, c= lass Klass that has already included module A do not gain the new methods f= rom module B.=A0

When I do reopen module A and add a new method, c= lass Klass that has already included module A gain these methods.

What is the difference between reopening a modu= le and adding a method and including another module?=A0

--
Incoherently,
Ricky Ng
--f46d044272486107f104d38c31ee--