Created
April 24, 2016 13:02
-
-
Save vijithmv499/496372e63d05fadd2d215a5e7564243f to your computer and use it in GitHub Desktop.
Excercism assignment 3 - gigasecond (http://exercism.io/exercises/ruby/gigasecond/readme)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Gigasecond | |
| GS = 10**9 | |
| VERSION = 1 | |
| def self.from(date) | |
| return date + GS | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment