mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
is_integer no longer needed
This commit is contained in:
parent
2f2025aa31
commit
959a721345
1 changed files with 0 additions and 4 deletions
|
@ -12,10 +12,6 @@ class String
|
|||
gsub /^#{scan(/^\s*/).min_by{|l|l.length}}/, ""
|
||||
end
|
||||
|
||||
def is_integer?
|
||||
true if Integer(self) rescue false
|
||||
end
|
||||
|
||||
def blank?
|
||||
return true if self == ''
|
||||
false
|
||||
|
|
Loading…
Add table
Reference in a new issue