[Geany-Users] Ruby indent not working

Sayth Renshaw flebber.crue at gmail.com
Thu Jan 17 12:02:06 UTC 2013


Hi

I just installed geany 1.22 on a windows 7 laptop and I am starting into
rails. So I am tinkering with ruby files which I haven't done before.

The thing is geany isn't indenting my files.

I created a file test.rb and just typed a multi array and printed it to
output as a test.

However I got no indenting so it looks like.

my_array = [[1,0],[2,1],[3,2]]

my_array.each do |x|
x.each do |y|
puts y
end
end

when it should look like.

my_array = [[1,0],[2,1],[3,2]]

my_array.each do |x|
x.each do |y|
puts y
end
end

Not sure if I have missed something Ruby specific

Sayth

.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/users/attachments/20130117/041c07e0/attachment.html>


More information about the Users mailing list