--_7f851ffb-0f30-4550-adee-6740a83f3d26_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Well, you should realize that leading whitespace on each new line is removed in emails and the like. So use some web service instead, like pastie.ssume you mean you use this method currently: http://pastie.org/676220

Well, I might do something like this (but I'm sure many would consider that ugly - just a personal preference really): http://pastie.org/676224

> Date: Fri, 30 Oct 2009 11:22:12 +0900
> From: cruzmail.ngreen / gmail.com
> Subject: Re: Ruby style question (many-arg methods)
> To: ruby-talk / ruby-lang.org
> 
> 
> > 
> > Currently I use the last one, because that way at least there is a sort
> > of ruby-ish block.  But the "conceptual decoupling" of the function from
> > the block trips me up occasionally.
> > 
> > Anyway, just got frustrated reading old code and was wondering if anyone
> > had a good solution for me ;p
> 
> Oops, wrote this all out of whack, currently I use this:
> 
> Net::SSH.start(
>  server,
>  user,:
>  password=>password,
>  :port=>port,
>  :other_stuff => somevariable,
>  :foo => bar,
>  :baz => qux) do |ssh|
>   foo = new_foo
> end
> 
> But thats a weird half-indentation thing and I dno how I feel about it, 
> would maybe work if ruby indentatino were 4-space.  I've tried the last 
> one (above) recently but the aforementioned decoupling trips me up
> -- 
> Posted via http://www.ruby-forum.com/.
> 
 		 	   		  
_________________________________________________________________
Windows 7: I wanted more reliable, now it's more reliable. Wow!
http://microsoft.com/windows/windows-7/default-ga.aspx?h=myidea?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_myidea:102009-_7f851ffb-0f30-4550-adee-6740a83f3d26_--