Having problem with indentation


I apologise for the fact that this Topic is not about not-working code or something. I just couldn't find where should i open this topic and wasn't able to figure out solution, so.. This is the part of the code given in the excercise.

class Account
  attr_reader :name, :balance
  def initialize(name, balance=100)
    @name = name
    @balance = balance

Of course nothing wrong with it, the point i am trying to make is every part is indented only 2 characters long. But for some reason when i press Tab it goes 4 units.
So how can i change this and make tab go 2 units?


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.