Brian Buckley schrieb:
> What is the proper syntax/code to include a Module into another
> Module?  My attempt below is not working.
> 
> module Foo
>  def xxx; "this is xxx" end
> end
> 
> module Enumerable
>  include Foo
> end
> 
> puts [].xxx  #does not  work, xxx not defined for Array.  Array
> includes Enumerable, right?

Brian, this isn't a problem of your syntax/code, but a (well known) 
problem of the Ruby interpreter. There's no known solution yet. You have 
to change the Enumerable module directly.

Regards,
Pit