Class: Time
- Inherits:
-
Object
- Object
- Time
- Defined in:
- lib/everything_becomes_f/core_ext/time.rb
Instance Method Summary collapse
Instance Method Details
#everything_became_f? ⇒ Boolean
2 3 4 |
# File 'lib/everything_becomes_f/core_ext/time.rb', line 2 def everything_became_f? to_i.everything_became_f? end |
#everything_becomes_f ⇒ Object
6 7 8 9 10 |
# File 'lib/everything_becomes_f/core_ext/time.rb', line 6 def everything_becomes_f return self if everything_became_f? Time.at(to_i.everything_becomes_f) end |