Module: AllureRspec::Utils

Included in:
RSpecFormatter, RspecMetadataParser, SuiteLabels
Defined in:
allure-rspec/lib/allure_rspec/_utils.rb

Instance Method Summary collapse

Instance Method Details

#strip_relative(path) ⇒ String

Strip relative ./ form path

Parameters:

  • path (String)

Returns:

  • (String)


8
9
10
# File 'allure-rspec/lib/allure_rspec/_utils.rb', line 8

def strip_relative(path)
  path.gsub("./", "")
end