Sha256: 132d3aa0a061d4e7198d0741f1a624524dfd7057e1f04b4b0b22bba05c76cc68

Contents?: true

Size: 222 Bytes

Versions: 30

Compression:

Stored size: 222 Bytes

Contents

# frozen_string_literal: true

module AllureRspec
  module Utils
    # Strip relative ./ form path
    # @param [String] path
    # @return [String]
    def strip_relative(path)
      path.gsub("./", "")
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
allure-rspec-2.25.0 lib/allure_rspec/_utils.rb
allure-rspec-2.24.5 lib/allure_rspec/_utils.rb
allure-rspec-2.24.4 lib/allure_rspec/_utils.rb
allure-rspec-2.24.3 lib/allure_rspec/_utils.rb
allure-rspec-2.24.2 lib/allure_rspec/_utils.rb
allure-rspec-2.24.1 lib/allure_rspec/_utils.rb
allure-rspec-2.24.0 lib/allure_rspec/_utils.rb
allure-rspec-2.23.0 lib/allure_rspec/_utils.rb
allure-rspec-2.22.0 lib/allure_rspec/_utils.rb
allure-rspec-2.21.2 lib/allure_rspec/_utils.rb
allure-rspec-2.21.1 lib/allure_rspec/_utils.rb
allure-rspec-2.21.0 lib/allure_rspec/_utils.rb
allure-rspec-2.20.0 lib/allure_rspec/_utils.rb
allure-rspec-2.19.0 lib/allure_rspec/_utils.rb
allure-rspec-2.18.0 lib/allure_rspec/_utils.rb
allure-rspec-2.17.0 lib/allure_rspec/_utils.rb
allure-rspec-2.16.2 lib/allure_rspec/_utils.rb
allure-rspec-2.16.1 lib/allure_rspec/_utils.rb
allure-rspec-2.16.0 lib/allure_rspec/_utils.rb
allure-rspec-2.15.0 lib/allure_rspec/_utils.rb