mirror of
https://github.com/neocities/neocities.git
synced 2025-07-23 19:10:40 +02:00
patch a few missing tests, deprecate server model, fix a few bugs
This commit is contained in:
parent
86990f3535
commit
50c1f67bdf
14 changed files with 90 additions and 49 deletions
|
@ -2,8 +2,4 @@ class Numeric
|
|||
def roundup(nearest=10)
|
||||
self % nearest == 0 ? self : self + nearest - (self % nearest)
|
||||
end
|
||||
|
||||
def rounddown(nearest=10)
|
||||
self % nearest == 0 ? self : self - (self % nearest)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue