remove monkeypatch that was causing file upload issues

This commit is contained in:
Kyle Drake 2015-03-14 17:49:18 -05:00
parent 82c473351f
commit 3f7f90c9e7
6 changed files with 9 additions and 13 deletions

View file

@ -1,8 +1,4 @@
class String
def empty?
strip == '' ? true : false
end
def shorten(length, usedots=true)
if usedots
return self if self.length < length
@ -15,4 +11,4 @@ class String
def unindent
gsub /^#{scan(/^\s*/).min_by{|l|l.length}}/, ""
end
end
end