Method: FeatureMap::Private::TestPyramidFile.filepath
- Defined in:
- lib/feature_map/private/test_pyramid_file.rb
.filepath(pathlike) ⇒ Object
102 103 104 105 106 107 108 |
# File 'lib/feature_map/private/test_pyramid_file.rb', line 102 def self.filepath(pathlike) File .join(File.dirname(pathlike), File.basename(pathlike, '.*')) .gsub(%r{^\./}, '') .gsub(%r{^spec/}, '') .gsub(%r{^app/}, '') end |