Class: Deadpull::Values::RootRelativePath

Inherits:
Base
  • Object
show all
Extended by:
Dry::Initializer
Defined in:
lib/deadpull/values/root_relative_path.rb

Instance Method Summary collapse

Methods inherited from Base

concretize

Instance Method Details

#concretizeObject



11
12
13
# File 'lib/deadpull/values/root_relative_path.rb', line 11

def concretize
  path.sub(%r{\A#{root}?\/}, '')
end