Removed code duplicated in lib.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8206 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Etienne Massip 2011-12-14 18:07:27 +00:00
parent 08e8567e93
commit 90010d1f3b
1 changed files with 0 additions and 6 deletions

View File

@ -375,9 +375,3 @@ class Date
(date.year - self.year)*52 + (date.cweek - self.cweek)
end
end
class String
def with_leading_slash
starts_with?('/') ? self : "/#{self}"
end
end