From: Gregory Brown Date: 2006-12-27T01:31:44+09:00 Subject: Re: extending Rake with a method rshell On 12/25/06, hemant wrote: > I have looked into rake/contrib/sshpublisher . Yet, I wonder, how > methods defined in classes like SshDirPublisher would MIXIN into rake. In ruby, you can use mixins more-or-less anywhere >> module A >> def say_hello >> puts "hello world" >> end >> end => nil >> class String >> include A >> end => String >> "foo".say_hello hello world => nil