Skip to content

Body of private_class_method method is indented too far #21

Closed
@jez

Description

@jez

input.rb

class A
  private_class_method def self.foo
    puts 'hello, world!'
  end
end

output.rb

class A
  private_class_method def self.foo
                         puts "hello, world!"
                       end
end

diff

--- input.rb    2022-03-24 14:26:09.669225408 -0700
+++ output.rb   2022-03-24 14:26:22.145203738 -0700
@@ -1,5 +1,5 @@
 class A
   private_class_method def self.foo
-    puts 'hello, world!'
-  end
+                         puts "hello, world!"
+                       end
 end

Metadata

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