Skip to content

Indentation should not increase when defining methods in the newer single-line syntax #2287

Open
@soulcutter

Description

Problem

When defining methods with the one-line syntax, indentation increases.

Expected

[2] pry(main)> class Foo
[2] pry(main)*   def biz = "biz"
[2] pry(main)*   def bar = "baar"
[2] pry(main)* end

Actual

[2] pry(main)> class Foo
[2] pry(main)*   def biz = "biz"
[2] pry(main)*     def bar = "baar"
[2] pry(main)*     end

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions