Sha256: 2c3e161509b3c321d1a07e82f2021792ba7a73e94f2a0c9ac28fe7aae4467419

Contents?: true

Size: 468 Bytes

Versions: 18

Compression:

Stored size: 468 Bytes

Contents

module Steep
  module PathHelper
    # Receives a String that represents a *file* URI and returns a Pathname
    #
    # Returns `nil` when the schema of given URI is not `file://`.
    #
    def self?.to_pathname: (String uri, ?dosish: bool) -> Pathname?

    def self?.to_pathname!: (String uri, ?dosish: bool) -> Pathname

    # Receives a Pathname and returns a *file* URI
    #
    def self?.to_uri: (Pathname | String path, ?dosish: bool) -> URI::File
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
steep-1.7.0.dev.3 sig/steep/path_helper.rbs
steep-1.7.0.dev.2 sig/steep/path_helper.rbs
steep-1.7.0.dev.1 sig/steep/path_helper.rbs
steep-1.6.0 sig/steep/path_helper.rbs
steep-1.6.0.pre.4 sig/steep/path_helper.rbs
steep-1.6.0.pre.3 sig/steep/path_helper.rbs
steep-1.6.0.pre.2 sig/steep/path_helper.rbs
steep-1.6.0.pre.1 sig/steep/path_helper.rbs
steep-1.5.3 sig/steep/path_helper.rbs
steep-1.5.2 sig/steep/path_helper.rbs
steep-1.5.1 sig/steep/path_helper.rbs
steep-1.5.0 sig/steep/path_helper.rbs
steep-1.5.0.pre.6 sig/steep/path_helper.rbs
steep-1.5.0.pre.5 sig/steep/path_helper.rbs
steep-1.5.0.pre.4 sig/steep/path_helper.rbs
steep-1.5.0.pre.3 sig/steep/path_helper.rbs
steep-1.5.0.pre.2 sig/steep/path_helper.rbs
steep-1.5.0.pre.1 sig/steep/path_helper.rbs