Skip to content

Class methods get analyzed as instance methods #7

@marcoroth

Description

@marcoroth

Currently class methods using the class << self definition are being analyzed as instance methods. Example:

module Nokogiri
  module CSS
    class << self
      def parse(selector)
        Parser.new.parse(selector)
      end
    end
  end
end

https://gem.sh/gems/nokogiri/v1.15.3/module/Nokogiri::CSS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions