Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

auto indent not working as expected #7

Open
@senny

Description

@senny

I ran into a situation where Auto Indent results in a wrong indent. I could reduce the example code to the following:

class Example
  private

  def attribute_and_value(attribute, value)
    "%s: %s" % [human_attribute_name(attribute),
      value]
  end
end

After calling Auto Indent it will look like this:

class Example
  private

  def attribute_and_value(attribute, value)
    "%s: %s" % [human_attribute_name(attribute),
      value]
    end
  end

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions