Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/raykit/string.rb

Instance Method Summary collapse

Instance Method Details

#work_dirObject



4
5
6
7
# File 'lib/raykit/string.rb', line 4

def work_dir
    rel_name=self.sub('https://','').gsub('http://','').gsub('.git','')
    Raykit::Environment.get_dev_dir('work') + '/' + rel_name
end