Module: Tracia::GemPaths
- Defined in:
- lib/tracia/gem_paths.rb
Constant Summary collapse
- ABSTRACTS =
{}
Class Method Summary collapse
Class Method Details
.shorten(location) ⇒ Object
10 11 12 13 14 |
# File 'lib/tracia/gem_paths.rb', line 10 def shorten(location) return '' if location.nil? ABSTRACTS.each{ |name, path| location = location.gsub(path, "$#{name}") } location end |