Skip to content

Body of private_class_method method is indented too far #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jez opened this issue Mar 24, 2022 · 0 comments · Fixed by #35
Closed

Body of private_class_method method is indented too far #21

jez opened this issue Mar 24, 2022 · 0 comments · Fixed by #35

Comments

@jez
Copy link
Contributor

jez commented Mar 24, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant