method
guess_name
guess_name(url)
private
Hide source
# File railties/lib/commands/plugin.rb, line 300 def guess_name(url) @name = File.basename(url) if @name == 'trunk' || @name.empty? @name = File.basename(File.dirname(url)) end @name.gsub!(/\.git$/, '') if @name =~ /\.git$/ end