class Time

Public Class Methods

at_2pac(i) click to toggle source
# File lib/tupac/ext.rb, line 8
def self.at_2pac(i)
  Tupac.at(i)
end

Public Instance Methods

to_2pac() click to toggle source
# File lib/tupac/ext.rb, line 4
def to_2pac
  Tupac.at(to_i - Tupac::OFFSET).to_i
end