mirror of
https://github.com/neocities/neocities.git
synced 2025-08-03 16:21:52 +02:00
remove monkeypatch that was causing file upload issues
This commit is contained in:
parent
82c473351f
commit
3f7f90c9e7
6 changed files with 9 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue