From: hemant Date: 2006-12-27T01:37:48+09:00 Subject: Re: extending Rake with a method rshell On 12/26/06, Gregory Brown wrote: > 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 > Thanks Gregory, I guess I can easily handle how to extend Rake. My chief problem is, right now how can i attach remote process's stdin to current terminal's input. -- gnufied ----------- There was only one Road; that it was like a great river: its springs were at every doorstep, and every path was its tributary.