Skip to content
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

Ruby: don't make a scope for "Class.new..." with no block #3733

Merged

Commits on Jul 13, 2023

  1. Ruby,cosmetic: use tab characters instead of spaces

    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    4d1f655 View commit details
    Browse the repository at this point in the history
  2. Ruby: make rubySkipWhitespace return true if skipped

    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    9b9d0ef View commit details
    Browse the repository at this point in the history
  3. Ruby: don't make a nesting level if Class.new doesn't make a scope

          D = Class.new()
          def bar()
          	  ...
          end
    
    The original code filled the scope field of "bar" with the anonymous
    tag for "Class.new". This was wrong; bar is not a part of D.
    
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    e311447 View commit details
    Browse the repository at this point in the history
  4. Units(Ruby): add a case for extracting a singleton method starting wi…

    …th self.
    
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    692a024 View commit details
    Browse the repository at this point in the history