Le 23/12/2012 21:26, thufir a écrit :
> On Sun, 23 Dec 2012 20:30:19 +0100, Colomban Wendling wrote:
> 
>> Your .rbeautify.rb script seems to use /usr/bin/ruby, while you specify
>> a specific Ruby paths for the compile/execute, is that normal?
> 
> Ohhh, I see.  In any event I was using the wrong script.  Here's the 
> correct usage as so:
> 
> thufir@dur:~/ruby$ 
> thufir@dur:~/ruby$ cat mail.rb 
> require 'yaml'
> require 'net/imap'
> require 'mail'
> 
> 2.times do
> puts 'hello world'
> end
> 
> thufir@dur:~/ruby$ 
> thufir@dur:~/ruby$ rbeautify mail.rb 
> require 'yaml'
> require 'net/imap'
> require 'mail'
> 
> 2.times do
>   puts 'hello world'
> end
> 
> thufir@dur:~/ruby$ 
> 
> However, it doesn't change the underlying file, you have to pipe to the 
> file (I presume).  Reading the doc's.

Tip: use the Custom Commands, not the Build Commands.

> 
> 
> https://rubygems.org/gems/ruby-beautify
> 
> 
> 
> -Thufir
> 
> _______________________________________________
> Users mailing list
> [email protected]
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
> 

_______________________________________________
Users mailing list
[email protected]
https://lists.geany.org/cgi-bin/mailman/listinfo/users

Reply via email to