class SPV::Fixtures::Modifiers::RelativePath
It allows to move up through a hierarchy of directories.
Example:
~/../some_fixture
Public Instance Methods
modify(fixture)
click to toggle source
# File lib/site_prism_vcr/fixtures/modifiers/relative_path.rb, line 13 def modify(fixture) path = Pathname.new(fixture.path) fixture.path = path.cleanpath.to_path end