Skip to content
This repository
Browse code

Remove useless colonification.

  • Loading branch information...
commit a914c21bfdb5d11c274136cf7b368295d6357403 1 parent 77b77ed
John Barnette authored July 24, 2010

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. 3  lib/basis/repo.rb
3  lib/basis/repo.rb
@@ -10,8 +10,7 @@ def initialize home = "~/.basis"
10 10
     end
11 11
 
12 12
     def add url, name = nil
13  
-      name ||= File.basename(url, ".git").
14  
-        downcase.sub(/^basis[-_]/, "").tr "-", ":"
  13
+      name ||= File.basename(url, ".git").downcase.sub(/^basis[-_]/, "")
15 14
 
16 15
       if templates.keys.include? name
17 16
         raise "Template '#{name}' already exists!"

0 notes on commit a914c21

Please sign in to comment.
Something went wrong with that request. Please try again.