=========
IRB indentation before I put the this `IRB.conf[:AUTO_INDENT] = true` in my
configuration file :-
arup@linux-wzza:~> irb
class Foo
def foo
12
end
end
=> nil
exit
And after I put the settings :-
arup@linux-wzza:~> irb
class Foo
def foo
12
end
end
=> nil
exit
You can see indentation working in one direction only. Is there any other
settings to get the intended behavior ? I found this settings from official
documentation - Module: IRB (Ruby 2.0.0)
..
--
Regards,
Arup Rakshit
Debugging is twice as hard as writing the code in the first place. Therefore,
if you write the code as cleverly as possible, you are, by definition, not
smart enough to debug it.
You can see indentation working in one direction only. Is there any other
settings to get the intended behavior ? I found this settings from
official documentation -
If by "in one direction" you mean that once you add "end" and press return the
line is not automatically one level of indentation less, then I guess you
might be confusing the behaviour from pry's: