Class: Date
- Inherits:
-
Object
- Object
- Date
- Defined in:
- lib/new_base_60.rb
Instance Method Summary collapse
-
#to_sxg ⇒ Object
Converts into a NewBase60 string.
Instance Method Details
#to_sxg ⇒ Object
Converts into a NewBase60 string.
76 77 78 |
# File 'lib/new_base_60.rb', line 76 def to_sxg (self - Date.parse("1970/01/01")).to_i.to_sxg end |