Module: Avm::Git::Commit::ClassMethods::ClassMethods
- Defined in:
- lib/avm/git/commit/class_methods.rb
Instance Method Summary collapse
Instance Method Details
#target_url_to_env_path(target_url) ⇒ Object
12 13 14 15 16 |
# File 'lib/avm/git/commit/class_methods.rb', line 12 def target_url_to_env_path(target_url) uri = ::Addressable::URI.parse(target_url) uri.scheme = 'file' if uri.scheme.blank? [uri_to_env(uri), uri.path] end |