ruby - gigasecond
This commit is contained in:
7
ruby/gigasecond/gigasecond.rb
Normal file
7
ruby/gigasecond/gigasecond.rb
Normal file
@ -0,0 +1,7 @@
|
||||
class Gigasecond
|
||||
GIGASECOND = 10 ** 9
|
||||
|
||||
def self.from(start)
|
||||
start + GIGASECOND
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user