Sha256: ce4513ce20db327aae0519f5fa2666fb1cc2de306166411465153294d2c83dbb
Contents?: true
Size: 696 Bytes
Versions: 29
Compression:
Stored size: 696 Bytes
Contents
module Steep class Project attr_reader targets: Array[Target] attr_reader steepfile_path: Pathname def initialize: (steepfile_path: Pathname) -> void def base_dir: () -> Pathname def relative_path: (Pathname path) -> Pathname def absolute_path: (Pathname path) -> Pathname def target_for_source_path: (Pathname path) -> Target? # Returns target or array of targets that *can* contain given path # # * `Target` will return if `path` is a source code # * `Array[Target]` will return if `path` is a signature # # `path` can be non-existent file. # def targets_for_path: (Pathname path) -> (Target | Array[Target] | nil) end end
Version data entries
29 entries across 29 versions & 1 rubygems