Sha256: f72a84236feff0c0ac25e11c07de611b1f1a645d7e1d056b0c0ea5ab97999bb1
Contents?: true
Size: 590 Bytes
Versions: 42
Compression:
Stored size: 590 Bytes
Contents
module Steep module Services module HoverProvider module SingletonMethods def content_for(service:, path:, line:, column:) project = service.project case (target = project.targets_for_path(path)) when Project::Target Ruby.new(service: service).content_for(target: target, path: path, line: line, column: column) when Array RBS.new(service: service).content_for(target: target[0], path: path, line: line, column: column) end end end extend SingletonMethods end end end
Version data entries
42 entries across 42 versions & 1 rubygems