Sha256: e8e5f19907b7cdca9c103fe539f096d9459c9254a786a339053eed6cdd5eb79f

Contents?: true

Size: 459 Bytes

Versions: 4

Compression:

Stored size: 459 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 path, ?dosish: bool) -> URI::File
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
steep-1.4.0 sig/steep/path_helper.rbs
steep-1.4.0.dev.5 sig/steep/path_helper.rbs
steep-1.4.0.dev.4 sig/steep/path_helper.rbs
steep-1.4.0.dev.3 sig/steep/path_helper.rbs