ruby - gigasecond

This commit is contained in:
2018-09-16 15:09:43 -04:00
parent 2caa27befc
commit dbe6b2b1bd
3 changed files with 72 additions and 0 deletions

View File

@ -0,0 +1,7 @@
class Gigasecond
GIGASECOND = 10 ** 9
def self.from(start)
start + GIGASECOND
end
end