erniebrodeur/ruby-beautify

Methods labeled `private_class_method` incorrectly indented

nbr opened this issue · 0 comments

nbr commented

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