CraigWilliams/BeautifyRuby

Formatter moves certain variables to column 0

Closed this issue · 1 comments

class OrlandoDns < Dns

  attr_reader :srv_records

   DATA_CENTER = 'orl'

  def initialize
   @srv_records  =  parse_srv_records('orl')
    super
  end


  def to_inbound_orl
    sort_srv_records('orl')
  end
end

becomes

class OrlandoDns < Dns

  attr_reader :srv_records, :site

DATA_CENTER = 'orl'

  def initialize
@srv_records  =  parse_srv_records('orl')
    super
  end


  def to_inbound_orl
    sort_srv_records('orl')
  end
end

Notice now @srv_records and DATA_CENTER are on column 0, when they should be on column 4 and 2, respectfully

This is on STS3
-John

Thanks !