Module: AllureRspec::Utils
- Included in:
- RSpecFormatter, RspecMetadataParser, SuiteLabels
- Defined in:
- lib/allure_rspec/_utils.rb
Instance Method Summary collapse
-
#strip_relative(path) ⇒ String
Strip relative ./ form path.
Instance Method Details
#strip_relative(path) ⇒ String
Strip relative ./ form path
8 9 10 |
# File 'lib/allure_rspec/_utils.rb', line 8 def strip_relative(path) path.gsub("./", "") end |