private Method

Plugin.guess_name(url)

There's no documentation for this item.

Source Code

# File commands/plugin.rb, line 261
def guess_name(url)
  @name = File.basename(url)
  if @name == 'trunk' || @name.empty?
    @name = File.basename(File.dirname(url))
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.