Skip to content

Methods labeled private_class_method incorrectly indented #37

@nbr

Description

@nbr

When invoking ruby-beautify -c 2 -s, I run into the following:

Expected:

module Foo
  def self.bar
    foo + 'bar'
  end

  private_class_method def self.foo
    'foo'
  end
end

Received:

module Foo
  def self.bar
    foo + 'bar'
  end

  private_class_method def self.foo
  'foo'
end
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions